/* Bigfishop branded theme bundle. Generated from migrated plugin CSS on 2026-05-13. */

/* Source: plugins\bigfishop-commerce\webapp\ecommerce\css\main.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sy-red: #E74C3C;
    --sy-red-dark: #C0392B;
    --sy-red-light: #FF6B6B;
    --sy-orange: #F39C12;
    --sy-orange-dark: #E67E22;
    --sy-blue: #3498DB;
    --sy-green: #27AE60;
    --sy-bg: #F5F5F5;
    --sy-white: #FFFFFF;
    --sy-text: #333333;
    --sy-text-secondary: #666666;
    --sy-text-light: #999999;
    --sy-border: #EEEEEE;
    --sy-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --sy-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --sy-radius: 8px;
    --sy-radius-sm: 4px;
    --sy-container: 1200px;
    --sy-transition: all 0.3s ease;
}

body.ecom-body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--sy-bg);
    color: var(--sy-text);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--sy-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--sy-red);
}

.sy-container {
    max-width: var(--sy-container);
    margin: 0 auto;
    padding: 0 16px;
}

.sy-topbar {
    background: var(--sy-bg);
    border-bottom: 1px solid var(--sy-border);
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    color: var(--sy-text-light);
}

.sy-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sy-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sy-welcome {
    color: var(--sy-text-light);
}

.sy-topbar-link {
    color: var(--sy-text-secondary);
    font-size: 12px;
    padding: 0 6px;
    transition: color 0.2s;
}

.sy-topbar-link:hover {
    color: var(--sy-red);
}

.sy-topbar-login {
    color: var(--sy-red);
    font-weight: 500;
}

.sy-topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sy-topbar-divider {
    color: var(--sy-border);
    margin: 0 4px;
}

.sy-header {
    background: var(--sy-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--sy-border);
}

.sy-header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sy-logo a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.sy-logo img {
    height: 50px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.sy-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--sy-red);
    letter-spacing: 2px;
}

.sy-logo-slogan {
    font-size: 12px;
    color: var(--sy-text-light);
    margin-left: 4px;
}

.sy-search {
    flex: 1;
    max-width: 560px;
}

.sy-search-form {
    display: flex;
    border: 2px solid var(--sy-red);
    border-radius: var(--sy-radius-sm);
    overflow: hidden;
    height: 40px;
}

.sy-search-cat select {
    height: 100%;
    border: none;
    border-right: 1px solid var(--sy-border);
    padding: 0 12px;
    font-size: 13px;
    color: var(--sy-text-secondary);
    background: var(--sy-bg);
    cursor: pointer;
    outline: none;
    min-width: 100px;
}

.sy-search-input {
    flex: 1;
    border: none;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    color: var(--sy-text);
}

.sy-search-input::placeholder {
    color: var(--sy-text-light);
}

.sy-search-btn {
    width: 80px;
    background: var(--sy-red);
    color: var(--sy-white);
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.sy-search-btn:hover {
    background: var(--sy-red-dark);
}

.sy-search-hot {
    margin-top: 8px;
    font-size: 12px;
    color: var(--sy-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.sy-search-hot span {
    color: var(--sy-text-light);
}

.sy-search-hot a {
    color: var(--sy-text-secondary);
    font-size: 12px;
    padding: 0 6px;
}

.sy-search-hot a:hover {
    color: var(--sy-red);
}

.sy-header-cart {
    position: relative;
}

.sy-cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 2px solid var(--sy-red);
    border-radius: var(--sy-radius-sm);
    color: var(--sy-red);
    font-size: 14px;
    font-weight: 500;
    transition: var(--sy-transition);
    text-decoration: none;
    white-space: nowrap;
}

.sy-cart-btn:hover {
    background: var(--sy-red);
    color: var(--sy-white);
}

.sy-icon-cart {
    font-size: 18px;
    font-style: normal;
}

.sy-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--sy-red);
    color: var(--sy-white);
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.sy-navbar {
    background: var(--sy-red);
    height: 44px;
    line-height: 44px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(231,76,60,0.3);
}

.sy-navbar-inner {
    display: flex;
    align-items: center;
    height: 44px;
}

.sy-all-category {
    position: relative;
    width: 210px;
    height: 44px;
    z-index: 1001;
}

.sy-all-category-title {
    background: var(--sy-orange-dark);
    color: var(--sy-white);
    height: 44px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.sy-cat-icon {
    font-size: 16px;
}

.sy-category-panel {
    position: absolute;
    top: 44px;
    left: 0;
    width: 210px;
    background: rgba(0,0,0,0.75);
    z-index: 1002;
    display: none;
}

.sy-all-category:hover .sy-category-panel {
    display: block;
}

.sy-cat-item {
    position: relative;
}

.sy-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 42px;
    line-height: 42px;
    color: var(--sy-white);
    font-size: 13px;
    transition: background 0.15s;
}

.sy-cat-link:hover {
    background: var(--sy-red);
    color: var(--sy-white);
}

.sy-cat-arrow {
    font-size: 14px;
    opacity: 0.6;
}

.sy-cat-sub {
    display: none;
    position: absolute;
    left: 210px;
    top: 0;
    min-width: 600px;
    min-height: 100%;
    background: var(--sy-white);
    box-shadow: var(--sy-shadow-hover);
    z-index: 1003;
    border-radius: 0 var(--sy-radius) var(--sy-radius) 0;
}

.sy-cat-item:hover .sy-cat-sub {
    display: block;
}

.sy-cat-sub-inner {
    padding: 20px;
}

.sy-cat-sub-group {
    display: flex;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sy-border);
}

.sy-cat-sub-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sy-cat-sub-group dt {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.sy-cat-sub-group dt a {
    color: var(--sy-text);
    font-weight: 500;
}

.sy-cat-sub-group dt a:hover {
    color: var(--sy-red);
}

.sy-cat-sub-group dd {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.sy-cat-sub-group dd a {
    color: var(--sy-text-secondary);
    font-size: 13px;
}

.sy-cat-sub-group dd a:hover {
    color: var(--sy-red);
}

.sy-nav-links {
    display: flex;
    align-items: center;
    height: 44px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sy-nav-item {
    height: 44px;
    line-height: 44px;
}

.sy-nav-item a {
    display: block;
    padding: 0 18px;
    color: var(--sy-white);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
}

.sy-nav-item a:hover,
.sy-nav-item.sy-nav-active a {
    background: var(--sy-red-dark);
    color: var(--sy-white);
}

.sy-main {
    min-height: calc(100vh - 400px);
}

.sy-home {
    padding-bottom: 40px;
}

.sy-hero {
    display: flex;
    margin-top: 12px;
    gap: 0;
    height: 460px;
}

.sy-hero-category {
    width: 210px;
    background: var(--sy-white);
    border-radius: var(--sy-radius) 0 0 var(--sy-radius);
    overflow-y: auto;
    flex-shrink: 0;
    box-shadow: var(--sy-shadow);
}

.sy-hero-cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 42px;
    line-height: 42px;
    color: var(--sy-text);
    font-size: 13px;
    transition: var(--sy-transition);
    border-left: 3px solid transparent;
}

.sy-hero-cat-item a:hover {
    background: #FFF5F5;
    color: var(--sy-red);
    border-left-color: var(--sy-red);
}

.sy-hero-cat-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sy-hero-cat-arrow {
    color: var(--sy-text-light);
    font-size: 14px;
}

.sy-hero-banner {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.sy-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sy-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.sy-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.sy-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.sy-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sy-carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.sy-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--sy-transition);
}

.sy-carousel-dot.active {
    background: var(--sy-white);
    width: 24px;
    border-radius: 5px;
}

.sy-carousel-prev,
.sy-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 60px;
    background: rgba(0,0,0,0.2);
    border: none;
    color: var(--sy-white);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sy-carousel-prev:hover,
.sy-carousel-next:hover {
    background: rgba(0,0,0,0.4);
}

.sy-carousel-prev {
    left: 0;
    border-radius: 0 var(--sy-radius-sm) var(--sy-radius-sm) 0;
}

.sy-carousel-next {
    right: 0;
    border-radius: var(--sy-radius-sm) 0 0 var(--sy-radius-sm);
}

.sy-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sy-red) 0%, var(--sy-orange) 50%, var(--sy-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sy-banner-placeholder-inner {
    text-align: center;
    color: var(--sy-white);
}

.sy-banner-placeholder-inner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.sy-banner-placeholder-inner p {
    font-size: 16px;
    opacity: 0.9;
}

.sy-hero-side {
    width: 210px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 0 var(--sy-radius) var(--sy-radius) 0;
    overflow: hidden;
}

.sy-hero-user {
    background: var(--sy-white);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--sy-shadow);
    flex: 1;
}

.sy-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sy-bg);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.sy-user-greeting {
    font-size: 13px;
    color: var(--sy-text-secondary);
    margin-bottom: 16px;
}

.sy-user-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.sy-btn {
    display: inline-block;
    padding: 6px 20px;
    border-radius: var(--sy-radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--sy-transition);
    text-decoration: none;
    border: none;
    line-height: 1.6;
}

.sy-btn-primary {
    background: var(--sy-red);
    color: var(--sy-white);
}

.sy-btn-primary:hover {
    background: var(--sy-red-dark);
    color: var(--sy-white);
}

.sy-btn-outline {
    border: 1px solid var(--sy-red);
    color: var(--sy-red);
    background: var(--sy-white);
}

.sy-btn-outline:hover {
    background: var(--sy-red);
    color: var(--sy-white);
}

.sy-hero-news {
    background: var(--sy-white);
    padding: 16px;
    box-shadow: var(--sy-shadow);
    flex: 1;
}

.sy-hero-news-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--sy-text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--sy-border);
}

.sy-hero-news-list {
    list-style: none;
}

.sy-hero-news-list li {
    margin-bottom: 8px;
}

.sy-hero-news-list a {
    font-size: 12px;
    color: var(--sy-text-secondary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sy-hero-news-list a:hover {
    color: var(--sy-red);
}

.sy-section {
    margin-top: 24px;
}

.sy-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sy-red);
}

.sy-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sy-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sy-title-icon {
    font-size: 22px;
}

.sy-section-more {
    font-size: 13px;
    color: var(--sy-text-light);
    transition: color 0.2s;
}

.sy-section-more:hover {
    color: var(--sy-red);
}

.sy-seckill .sy-section-header {
    border-bottom-color: var(--sy-orange);
}

.sy-seckill-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 20px;
}

.sy-timer-label {
    font-size: 13px;
    color: var(--sy-text-secondary);
    margin-right: 4px;
}

.sy-timer-block {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: var(--sy-text);
    color: var(--sy-white);
    border-radius: var(--sy-radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.sy-seckill-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.sy-seckill-card {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    overflow: hidden;
    transition: var(--sy-transition);
    box-shadow: var(--sy-shadow);
}

.sy-seckill-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sy-shadow-hover);
}

.sy-seckill-card a {
    text-decoration: none;
    color: inherit;
}

.sy-seckill-img {
    height: 180px;
    background: var(--sy-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sy-seckill-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sy-seckill-card:hover .sy-seckill-img img {
    transform: scale(1.05);
}

.sy-no-img {
    color: var(--sy-text-light);
    font-size: 13px;
    text-align: center;
    padding: 8px;
}

.sy-seckill-info {
    padding: 12px;
}

.sy-seckill-name {
    font-size: 13px;
    color: var(--sy-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.sy-seckill-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.sy-price-seckill {
    font-size: 18px;
    font-weight: 700;
    color: var(--sy-red);
}

.sy-price-original {
    font-size: 12px;
    color: var(--sy-text-light);
    text-decoration: line-through;
}

.sy-seckill-progress {
    height: 6px;
    background: #FFE0E0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.sy-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sy-red), var(--sy-orange));
    border-radius: 3px;
    transition: width 0.5s;
}

.sy-seckill-sold {
    font-size: 11px;
    color: var(--sy-text-light);
}

.sy-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sy-promo-card {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    overflow: hidden;
    box-shadow: var(--sy-shadow);
    transition: var(--sy-transition);
}

.sy-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sy-shadow-hover);
}

.sy-promo-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.sy-promo-info {
    padding: 12px;
}

.sy-promo-info h3 {
    font-size: 15px;
    color: var(--sy-text);
    margin-bottom: 4px;
}

.sy-promo-info p {
    font-size: 12px;
    color: var(--sy-text-light);
}

.sy-cat-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sy-cat-tab {
    padding: 8px 20px;
    background: var(--sy-white);
    border-radius: 20px;
    font-size: 14px;
    color: var(--sy-text-secondary);
    cursor: pointer;
    transition: var(--sy-transition);
    border: 1px solid var(--sy-border);
    user-select: none;
}

.sy-cat-tab:hover {
    color: var(--sy-red);
    border-color: var(--sy-red);
}

.sy-cat-tab.active {
    background: var(--sy-red);
    color: var(--sy-white);
    border-color: var(--sy-red);
}

.sy-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.sy-product-card {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    overflow: hidden;
    box-shadow: var(--sy-shadow);
    transition: var(--sy-transition);
}

.sy-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sy-shadow-hover);
}

.sy-product-card a {
    text-decoration: none;
    color: inherit;
}

.sy-product-img {
    height: 200px;
    background: var(--sy-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sy-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sy-product-card:hover .sy-product-img img {
    transform: scale(1.05);
}

.sy-product-info {
    padding: 12px;
}

.sy-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--sy-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.sy-product-desc {
    font-size: 12px;
    color: var(--sy-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.sy-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sy-price-now {
    font-size: 18px;
    font-weight: 700;
    color: var(--sy-red);
}

.sy-price-old {
    font-size: 12px;
    color: var(--sy-text-light);
    text-decoration: line-through;
}

.sy-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--sy-text-light);
}

.sy-brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.sy-brand-card {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--sy-shadow);
    transition: var(--sy-transition);
}

.sy-brand-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sy-shadow-hover);
}

.sy-brand-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

.sy-brand-card p {
    font-size: 13px;
    color: var(--sy-text-secondary);
}

.sy-brand-card a {
    text-decoration: none;
    color: inherit;
}

.sy-brand-placeholder {
    width: 80px;
    height: 80px;
    background: var(--sy-bg);
    border-radius: var(--sy-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 13px;
    color: var(--sy-text-light);
    font-weight: 500;
}

.sy-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sy-news-card {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    padding: 20px;
    box-shadow: var(--sy-shadow);
    transition: var(--sy-transition);
}

.sy-news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sy-shadow-hover);
}

.sy-news-card a {
    text-decoration: none;
    color: inherit;
}

.sy-news-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--sy-text);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sy-news-card h3:hover {
    color: var(--sy-red);
}

.sy-news-desc {
    font-size: 13px;
    color: var(--sy-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.sy-news-date {
    font-size: 12px;
    color: var(--sy-text-light);
}

.sy-footer {
    background: #fff;
    color: #4b5563;
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.sy-footer-service {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sy-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sy-service-icon {
    font-size: 32px;
    font-style: normal;
}

.sy-service-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--sy-white);
    margin-bottom: 2px;
}

.sy-service-text p {
    font-size: 12px;
    color: #999;
}

.sy-footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 36px;
    padding: 30px 0;
}

.sy-footer-col h4 {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 16px;
}

.sy-footer-col ul {
    list-style: none;
}

.sy-footer-col li {
    margin-bottom: 10px;
}

.sy-footer-col a {
    color: #4b5563;
    font-size: 13px;
    transition: color 0.2s;
}

.sy-footer-col a:hover {
    color: var(--sy-primary);
}

.sy-footer-contact {
    min-width: 280px;
}

.sy-footer-contact li {
    line-height: 1.8;
}

.sy-footer-phone {
    color: var(--sy-primary);
    font-size: 15px;
}

.sy-footer-qr {
    position: relative;
    width: 112px;
    height: 112px;
    margin-top: 18px;
    border: 8px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
    background:
        linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 24px 24px,
        linear-gradient(#111 10px, transparent 10px) 0 0 / 24px 24px,
        #fff;
}

.sy-footer-qr span {
    position: absolute;
    inset: 18px;
    background: #fff;
    border-radius: 50%;
}

.sy-footer-qr img {
    position: absolute;
    inset: 34px;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.sy-footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
    text-align: center;
}

.sy-footer-bottom p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.sy-footer-links a {
    color: #6b7280;
    font-size: 12px;
}

.sy-footer-links a:hover {
    color: var(--sy-primary);
}

.sy-article-page,
.sy-user-page,
.sy-address-page {
    padding: 24px 0 48px;
}

.sy-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: #667085;
    font-size: 14px;
}

.sy-breadcrumb a {
    color: #344054;
    text-decoration: none;
}

.sy-article-card,
.sy-user-head,
.sy-address-toolbar,
.sy-address-list {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 8px;
}

.sy-article-card {
    padding: 32px;
    min-height: 360px;
}

.sy-article-header h1,
.sy-user-head h1 {
    margin: 0 0 10px;
    color: #101828;
    font-size: 28px;
    line-height: 1.35;
}

.sy-article-meta,
.sy-user-head p {
    margin: 0;
    color: #667085;
}

.sy-article-body {
    margin-top: 24px;
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
}

.sy-user-head {
    padding: 24px;
    margin-bottom: 16px;
}

.sy-user-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sy-user-card,
.sy-address-card {
    display: block;
    padding: 20px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 8px;
    color: #344054;
    text-decoration: none;
}

.sy-user-card strong,
.sy-address-card strong {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-size: 18px;
}

.sy-user-card span,
.sy-address-card p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.sy-address-toolbar {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px;
    margin-bottom: 16px;
}

.sy-address-list {
    padding: 16px;
    min-height: 220px;
}

.sy-address-card + .sy-address-card {
    margin-top: 12px;
}

.sy-status-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff1ed;
    color: #e92a10;
    font-size: 12px;
}

.sy-back-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--sy-white);
    border: 1px solid var(--sy-border);
    border-radius: var(--sy-radius-sm);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--sy-text-secondary);
    box-shadow: var(--sy-shadow);
    transition: var(--sy-transition);
    z-index: 999;
}

.sy-back-top:hover {
    background: var(--sy-red);
    color: var(--sy-white);
    border-color: var(--sy-red);
}

.sy-back-top.visible {
    display: flex;
}

.product-list-page {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    max-width: var(--sy-container);
    margin: 20px auto;
    padding: 0 16px;
}

.product-sidebar {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    padding: 20px;
    box-shadow: var(--sy-shadow);
}

.product-sidebar h3 {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--sy-text);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sy-red);
}

.category-tree {
    list-style: none;
}

.category-tree li {
    margin-bottom: 4px;
}

.category-tree a {
    color: var(--sy-text-secondary);
    padding: 8px 12px;
    display: block;
    border-radius: var(--sy-radius-sm);
    transition: var(--sy-transition);
    font-size: 13px;
}

.category-tree a:hover,
.category-tree li.active a {
    color: var(--sy-red);
    background: #FFF5F5;
}

.product-list-main {
    background: var(--sy-white);
    border-radius: var(--sy-radius);
    padding: 20px;
    box-shadow: var(--sy-shadow);
}

.product-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sy-border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--sy-white);
    border: 1px solid var(--sy-border);
    border-radius: var(--sy-radius);
    overflow: hidden;
    transition: var(--sy-transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sy-shadow-hover);
    border-color: var(--sy-red);
}

.product-image {
    height: 200px;
    background: var(--sy-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--sy-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-subtitle {
    font-size: 12px;
    color: var(--sy-text-light);
}

.sy-message {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: var(--sy-radius);
    font-size: 14px;
    z-index: 9999;
    box-shadow: var(--sy-shadow-hover);
    animation: sySlideDown 0.3s ease;
}

.sy-message-success {
    background: var(--sy-green);
    color: var(--sy-white);
}

.sy-message-error {
    background: var(--sy-red);
    color: var(--sy-white);
}

.sy-message-info {
    background: var(--sy-blue);
    color: var(--sy-white);
}

@keyframes sySlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 1200px) {
    .sy-seckill-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .sy-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .sy-brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .sy-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sy-header-inner {
        flex-wrap: wrap;
        gap: 16px;
    }
    .sy-search {
        order: 3;
        max-width: 100%;
    }
    .sy-hero {
        height: auto;
    }
    .sy-hero-category {
        display: none;
    }
    .sy-hero-side {
        display: none;
    }
    .sy-hero-banner {
        height: 300px;
        border-radius: var(--sy-radius);
    }
    .sy-seckill-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sy-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sy-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sy-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
    .sy-footer-service {
        flex-wrap: wrap;
        gap: 16px;
    }
    .sy-nav-links {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .product-list-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sy-topbar-right {
        display: none;
    }
    .sy-header-inner {
        gap: 12px;
    }
    .sy-logo-text {
        font-size: 20px;
    }
    .sy-search-cat {
        display: none;
    }
    .sy-header-cart {
        display: none;
    }
    .sy-nav-item a {
        padding: 0 10px;
        font-size: 13px;
    }
    .sy-seckill-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-promo-grid {
        grid-template-columns: 1fr;
    }
    .sy-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-news-grid {
        grid-template-columns: 1fr;
    }
    .sy-footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-hero-banner {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .sy-seckill-grid {
        grid-template-columns: 1fr;
    }
    .sy-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sy-footer-columns {
        grid-template-columns: 1fr;
    }
    .sy-footer-service {
        flex-direction: column;
        align-items: center;
    }
}

/* Bigfishop configurable marketplace storefront home */
:root {
    --sy-ozon-blue: #005bff;
    --sy-ozon-blue-dark: #0048d8;
    --sy-ozon-bg: #f3f6fb;
    --sy-ozon-pink: #ff2f8f;
    --sy-ozon-green: #16c75d;
    --sy-ozon-ink: #001a34;
    --sy-ozon-muted: #7a8799;
}

body.ecom-body {
    background: var(--sy-ozon-bg);
    color: var(--sy-ozon-ink);
}

.sy-ozon-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 10px 0 8px;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 1px 0 rgba(0, 26, 52, 0.04);
}

.sy-ozon-header .sy-header-inner {
    gap: 14px;
}

.sy-ozon-header .sy-logo a {
    align-items: center;
}

.sy-ozon-header .sy-logo-text {
    color: var(--sy-ozon-blue);
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.sy-catalog-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--sy-ozon-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.sy-catalog-btn:hover {
    color: #fff;
    background: var(--sy-ozon-blue-dark);
}

.sy-catalog-icon {
    font-size: 19px;
    line-height: 1;
}

.sy-ozon-header .sy-search {
    max-width: none;
    min-width: 220px;
}

.sy-ozon-header .sy-search-form {
    height: 42px;
    border: 2px solid var(--sy-ozon-blue);
    border-radius: 10px;
    background: #fff;
}

.sy-ozon-header .sy-search-cat select {
    min-width: 74px;
    background: #f2f5f9;
    border-right: 0;
    color: #536173;
    border-radius: 8px;
    margin: 3px 0 3px 3px;
    height: 32px;
}

.sy-ozon-header .sy-search-input {
    font-size: 16px;
    min-width: 0;
}

.sy-ozon-header .sy-search-btn {
    width: 74px;
    background: var(--sy-ozon-blue);
    font-size: 27px;
    line-height: 1;
    border-radius: 0 7px 7px 0;
}

.sy-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 8px;
}

.sy-action-link {
    position: relative;
    min-width: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #66758a;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}

.sy-action-link:hover {
    color: var(--sy-ozon-blue);
}

.sy-action-icon {
    color: #9aa6b5;
    font-size: 19px;
    line-height: 1;
}

.sy-action-link:hover .sy-action-icon {
    color: var(--sy-ozon-blue);
}

.sy-cart-link .sy-cart-count {
    top: -6px;
    right: 1px;
    background: var(--sy-ozon-pink);
}

.sy-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.sy-ozon-header .sy-nav-links {
    height: auto;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 15px;
}

.sy-ozon-header .sy-nav-links::-webkit-scrollbar {
    display: none;
}

.sy-ozon-header .sy-nav-links a {
    display: inline-flex;
    align-items: center;
    color: #526276;
    font-size: 14px;
    white-space: nowrap;
}

.sy-ozon-header .sy-nav-links a:hover,
.sy-location a {
    color: var(--sy-ozon-blue);
}

.sy-location {
    color: #526276;
    font-size: 14px;
    white-space: nowrap;
}

.sy-main {
    min-height: calc(100vh - 300px);
}

.sy-ozon-home {
    padding-bottom: 28px;
}

.sy-ozon-promo-strip {
    background: linear-gradient(90deg, #b8ff00 0%, #33e66a 44%, #d4ff23 100%);
}

.sy-ozon-promo-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 80, 20, 0.22);
}

.sy-ozon-promo-inner strong {
    background: var(--sy-ozon-pink);
    border-radius: 10px;
    padding: 8px 22px;
    font-size: 28px;
    line-height: 1;
}

.sy-ozon-promo-inner span {
    font-size: 22px;
    font-weight: 800;
}

.sy-ozon-promo-inner a {
    color: #fff;
    background: #001a34;
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 700;
}

.sy-ozon-hero {
    position: relative;
    min-height: 300px;
    margin: 12px 0;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 38%, rgba(255, 255, 255, 0.72) 0 18%, transparent 19%),
        linear-gradient(105deg, #ff7fb5 0%, #ffb48a 51%, #ff79ae 100%);
    display: flex;
    align-items: center;
    padding: 38px 8%;
}

.sy-hero-copy {
    width: min(560px, 58%);
    color: #fff;
    position: relative;
    z-index: 2;
}

.sy-hero-kicker {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 12px;
    font-weight: 800;
}

.sy-hero-copy h1 {
    margin: 18px 0 10px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.sy-hero-copy p {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.sy-hero-cta {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--sy-ozon-blue);
    color: #fff;
    font-weight: 700;
}

.sy-hero-cta:hover {
    color: #fff;
    background: var(--sy-ozon-blue-dark);
}

.sy-hero-art {
    position: absolute;
    inset: 0 5% 0 auto;
    width: 42%;
}

.sy-config-slides {
    position: absolute;
    inset: 0;
}

.sy-config-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 0.45s ease;
    color: #fff;
}

.sy-config-slide.active {
    opacity: 1;
    z-index: 1;
}

.sy-config-slide picture,
.sy-config-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

.sy-config-slide img {
    object-fit: cover;
}

.sy-config-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 26, 52, 0.42), rgba(0, 26, 52, 0.05) 58%, rgba(0, 26, 52, 0));
}

.sy-slide-text {
    position: absolute;
    left: 8%;
    bottom: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0, 26, 52, 0.24);
}

.sy-slide-text strong {
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
}

.sy-slide-text em {
    font-style: normal;
    font-size: 17px;
}

.sy-ozon-hero .sy-carousel-indicators {
    bottom: 16px;
    z-index: 4;
}

.sy-hero-device {
    position: absolute;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 70px rgba(75, 31, 73, 0.22);
}

.sy-hero-device-a {
    width: 190px;
    height: 190px;
    right: 28%;
    top: 45px;
    background: linear-gradient(150deg, #ffffff, #e7fff2);
}

.sy-hero-device-b {
    width: 135px;
    height: 220px;
    right: 7%;
    bottom: 28px;
    background: linear-gradient(150deg, #fff, #e8f0ff);
}

.sy-hero-device-c {
    width: 150px;
    height: 105px;
    right: 36%;
    bottom: 38px;
    background: linear-gradient(150deg, #fff, #fff5db);
}

.sy-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #001a34;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sy-hero-prev {
    left: 10px;
}

.sy-hero-next {
    right: 10px;
}

.sy-quick-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.sy-quick-tiles a {
    min-height: 82px;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--sy-ozon-ink);
    box-shadow: 0 1px 0 rgba(0, 26, 52, 0.06);
}

.sy-quick-tiles a:hover {
    color: var(--sy-ozon-blue);
    box-shadow: 0 8px 24px rgba(0, 91, 255, 0.12);
}

.sy-quick-tiles span {
    color: var(--sy-ozon-pink);
    font-weight: 800;
    margin-bottom: 4px;
}

.sy-quick-tiles strong {
    font-size: 16px;
}

.sy-waterfall-section {
    margin-top: 10px;
}

.sy-waterfall-header {
    align-items: flex-start;
    border-bottom: 0;
    margin-bottom: 12px;
    padding-bottom: 0;
    gap: 16px;
}

.sy-waterfall-header .sy-section-title {
    font-size: 28px;
    line-height: 1.2;
    white-space: nowrap;
}

.sy-waterfall-header .sy-cat-tabs {
    margin-bottom: 0;
    justify-content: flex-end;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.sy-waterfall-header .sy-cat-tabs::-webkit-scrollbar {
    display: none;
}

.sy-waterfall-header .sy-cat-tab {
    border-radius: 999px;
    border: 0;
    color: #526276;
    background: #fff;
    white-space: nowrap;
}

.sy-waterfall-header .sy-cat-tab.active {
    background: var(--sy-ozon-blue);
    color: #fff;
}

.sy-waterfall-grid {
    column-count: 5;
    column-gap: 12px;
}

.sy-waterfall-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 12px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    break-inside: avoid;
}

.sy-waterfall-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 26, 52, 0.11);
}

.sy-waterfall-img {
    position: relative;
    height: auto;
    aspect-ratio: 1 / 1.05;
    border-radius: 14px 14px 0 0;
}

.sy-waterfall-img.sy-ratio-2 {
    aspect-ratio: 1 / 1.25;
}

.sy-waterfall-img.sy-ratio-3 {
    aspect-ratio: 1 / 0.92;
}

.sy-waterfall-img.sy-ratio-4 {
    aspect-ratio: 1 / 1.42;
}

.sy-waterfall-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sy-product-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    color: #536173;
    font-weight: 700;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.68), rgba(255,255,255,0.1)),
        linear-gradient(135deg, #f8fbff, #e4ecf8);
}

.sy-product-visual.sy-ratio-2 {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,255,255,0.12)),
        linear-gradient(135deg, #fff1f7, #ffe2ef);
}

.sy-product-visual.sy-ratio-3 {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,255,255,0.12)),
        linear-gradient(135deg, #ecfff3, #cffff0);
}

.sy-product-visual.sy-ratio-4 {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,255,255,0.12)),
        linear-gradient(135deg, #fff7da, #e9f1ff);
}

.sy-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #001a34;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.sy-sale-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--sy-ozon-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.sy-waterfall-card .sy-product-info {
    padding: 10px 10px 12px;
}

.sy-waterfall-card .sy-product-price {
    margin-bottom: 4px;
}

.sy-waterfall-card .sy-price-now {
    color: var(--sy-ozon-pink);
    font-size: 22px;
    line-height: 1.1;
}

.sy-waterfall-card:nth-child(4n) .sy-price-now,
.sy-waterfall-card:nth-child(7n) .sy-price-now {
    color: var(--sy-ozon-green);
}

.sy-waterfall-card .sy-product-name {
    white-space: normal;
    line-height: 1.35;
    font-size: 15px;
    margin-bottom: 4px;
}

.sy-waterfall-card .sy-product-desc {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
}

.sy-product-meta {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #7a8799;
    font-size: 12px;
    margin-top: 6px;
}

.sy-rating {
    color: #f6a000;
    font-weight: 700;
}

.sy-waterfall-status {
    padding: 20px 0 8px;
    text-align: center;
    color: var(--sy-ozon-muted);
}

@media (max-width: 1200px) {
    .sy-waterfall-grid {
        column-count: 4;
    }
}

@media (max-width: 992px) {
    .sy-ozon-header .sy-header-inner {
        flex-wrap: nowrap;
    }

    .sy-header-actions {
        gap: 12px;
    }

    .sy-action-link {
        min-width: 38px;
    }

    .sy-waterfall-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .sy-container {
        padding: 0 10px;
    }

    .sy-ozon-header {
        padding-top: 8px;
    }

    .sy-ozon-header .sy-header-inner {
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 8px;
    }

    .sy-ozon-header .sy-logo-text {
        font-size: 28px;
    }

    .sy-catalog-btn {
        height: 38px;
        padding: 0 12px;
        border-radius: 9px;
    }

    .sy-catalog-btn span:last-child {
        display: none;
    }

    .sy-ozon-header .sy-search {
        order: unset;
    }

    .sy-ozon-header .sy-search-form {
        height: 38px;
    }

    .sy-ozon-header .sy-search-cat {
        display: none;
    }

    .sy-ozon-header .sy-search-input {
        font-size: 14px;
        padding: 0 10px;
    }

    .sy-ozon-header .sy-search-btn {
        width: 48px;
        font-size: 24px;
    }

    .sy-header-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 2px;
        overflow-x: auto;
    }

    .sy-nav-row {
        margin-top: 7px;
    }

    .sy-location {
        display: none;
    }

    .sy-ozon-promo-inner {
        min-height: 48px;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 10px;
    }

    .sy-ozon-promo-inner strong {
        font-size: 20px;
        padding: 7px 14px;
        white-space: nowrap;
    }

    .sy-ozon-promo-inner span {
        font-size: 15px;
        white-space: nowrap;
    }

    .sy-ozon-promo-inner a {
        white-space: nowrap;
    }

    .sy-ozon-hero {
        min-height: 218px;
        border-radius: 16px;
        padding: 26px 30px;
    }

    .sy-hero-copy {
        width: 76%;
    }

    .sy-slide-text {
        left: 30px;
        right: 30px;
        bottom: 34px;
        max-width: none;
    }

    .sy-slide-text strong {
        font-size: 28px;
    }

    .sy-slide-text em {
        font-size: 14px;
    }

    .sy-hero-copy h1 {
        font-size: 30px;
    }

    .sy-hero-copy p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .sy-hero-art {
        opacity: 0.56;
        width: 40%;
    }

    .sy-hero-device-a {
        width: 110px;
        height: 110px;
        right: 20%;
    }

    .sy-hero-device-b {
        width: 82px;
        height: 142px;
        right: 4%;
    }

    .sy-hero-device-c {
        width: 98px;
        height: 70px;
        right: 28%;
    }

    .sy-quick-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sy-quick-tiles a {
        min-height: 72px;
        border-radius: 12px;
        padding: 12px;
    }

    .sy-waterfall-header {
        display: block;
    }

    .sy-waterfall-header .sy-section-title {
        font-size: 23px;
        margin-bottom: 10px;
    }

    .sy-waterfall-grid {
        column-count: 2;
        column-gap: 8px;
    }

    .sy-waterfall-card {
        margin-bottom: 8px;
        border-radius: 12px;
    }

    .sy-waterfall-card .sy-product-info {
        padding: 8px;
    }

    .sy-waterfall-card .sy-price-now {
        font-size: 18px;
    }

    .sy-waterfall-card .sy-product-name {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .sy-ozon-header .sy-header-inner {
        grid-template-columns: auto 1fr;
    }

    .sy-catalog-btn {
        display: none;
    }

    .sy-ozon-header .sy-search {
        min-width: 0;
    }

    .sy-hero-copy {
        width: 100%;
    }

    .sy-hero-art {
        display: none;
    }
}

/* Bigfishop storefront design landing */
:root {
    --sy-ozon-blue: #1b7f72;
    --sy-ozon-blue-dark: #12665c;
    --sy-ozon-bg: #f4f7f6;
    --sy-ozon-pink: #e65f2b;
    --sy-ozon-green: #1ca66a;
    --sy-ozon-ink: #102a32;
    --sy-ozon-muted: #6b7c86;
    --sy-bf-gold: #d99a26;
    --sy-bf-soft: #e9f6f2;
}

body.ecom-body {
    background:
        linear-gradient(180deg, #eef7f4 0, #f7f9fb 340px, #f4f7f6 100%);
}

.sy-ozon-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.sy-catalog-btn,
.sy-ozon-header .sy-search-btn,
.sy-waterfall-header .sy-cat-tab.active,
.sy-hero-cta,
.sy-card-cart {
    background: var(--sy-ozon-blue);
}

.sy-catalog-btn:hover,
.sy-ozon-header .sy-search-btn:hover,
.sy-hero-cta:hover,
.sy-card-cart:hover {
    background: var(--sy-ozon-blue-dark);
}

.sy-ozon-header .sy-search-form {
    border-color: var(--sy-ozon-blue);
}

.sy-ozon-promo-strip {
    background: linear-gradient(90deg, #cbeed8 0%, #62caa2 42%, #f4d28a 100%);
}

.sy-ozon-promo-inner {
    color: #0f3a33;
    text-shadow: none;
}

.sy-ozon-promo-inner strong {
    background: #fff;
    color: #0f3a33;
}

.sy-ozon-promo-inner a {
    background: #0f3a33;
}

.sy-ozon-hero {
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.76) 0 18%, transparent 19%),
        linear-gradient(112deg, #1b7f72 0%, #69bea2 47%, #f0b65f 100%);
}

.sy-slide-text,
.sy-hero-copy {
    text-shadow: 0 2px 12px rgba(16, 42, 50, 0.28);
}

.sy-sale-badge {
    background: var(--sy-ozon-pink);
}

.sy-waterfall-card {
    background: #fff;
}

.sy-waterfall-card a {
    display: block;
}

.sy-card-cart {
    width: calc(100% - 20px);
    height: 36px;
    margin: 0 10px 12px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.sy-card-cart:disabled {
    opacity: 0.58;
    cursor: wait;
}

.sy-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sy-search {
    position: relative;
}

.sy-search-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1250;
    display: none;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(16, 42, 50, 0.18);
}

.sy-search-suggest.visible {
    display: block;
}

.sy-search-suggest-title {
    margin: 0 0 8px;
    color: var(--sy-ozon-muted);
    font-size: 13px;
    font-weight: 800;
}

.sy-search-suggest button {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--sy-ozon-ink);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
}

.sy-search-suggest button:hover {
    background: var(--sy-bf-soft);
}

.sy-search-suggest button span {
    color: #94a3ad;
}

.sy-catalog-drawer {
    position: fixed;
    inset: 0;
    z-index: 1240;
    display: none;
}

.sy-catalog-drawer.visible {
    display: block;
}

.sy-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 50, 0.48);
}

.sy-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: 18px 0 44px rgba(16, 42, 50, 0.18);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    overflow: auto;
}

.sy-catalog-drawer.visible .sy-drawer-panel {
    transform: translateX(0);
}

.sy-drawer-head {
    height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f3;
}

.sy-drawer-head strong {
    font-size: 20px;
}

.sy-drawer-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f6;
    color: var(--sy-ozon-ink);
    font-size: 24px;
    cursor: pointer;
}

.sy-drawer-list {
    padding: 10px;
}

.sy-drawer-list a {
    min-height: 44px;
    padding: 0 10px 0 14px;
    border-radius: 10px;
    color: var(--sy-ozon-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sy-drawer-list a:hover {
    background: var(--sy-bf-soft);
    color: var(--sy-ozon-blue);
}

.sy-drawer-list em {
    color: #9aa8ad;
    font-style: normal;
}

.sy-cookie-notice {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1300;
    max-width: min(620px, calc(100vw - 32px));
    min-height: 56px;
    padding: 12px 14px 12px 18px;
    border-radius: 10px;
    background: rgba(16, 42, 50, 0.94);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 14px 34px rgba(16, 42, 50, 0.2);
}

.sy-cookie-notice span {
    line-height: 1.45;
}

.sy-cookie-notice button {
    flex: 0 0 auto;
    min-width: 76px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--sy-ozon-ink);
    font-weight: 800;
    cursor: pointer;
}

.sy-support-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1290;
}

.sy-support-toggle {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: var(--sy-ozon-blue);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(27, 127, 114, 0.28);
    cursor: pointer;
}

.sy-support-panel {
    position: absolute;
    right: 0;
    bottom: 62px;
    display: none;
    width: 300px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(16, 42, 50, 0.2);
}

.sy-support-widget.open .sy-support-panel {
    display: block;
}

.sy-support-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sy-support-head button {
    border: 0;
    background: transparent;
    color: #7a8799;
    font-size: 22px;
    cursor: pointer;
}

.sy-support-panel p {
    margin: 0 0 12px;
    color: var(--sy-ozon-muted);
    line-height: 1.55;
}

.sy-support-panel a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--sy-bf-soft);
    color: var(--sy-ozon-blue);
    font-weight: 800;
}

.sy-back-top {
    right: 18px;
    bottom: 82px;
    background: var(--sy-ozon-blue);
}

@media (max-width: 768px) {
    .sy-search-suggest {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 108px;
        max-height: 58vh;
        overflow: auto;
    }

    .sy-cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .sy-cookie-notice button {
        width: 100%;
    }

    .sy-support-widget {
        right: 12px;
        bottom: 12px;
    }

    .sy-support-panel {
        width: calc(100vw - 24px);
        right: 0;
    }

    .sy-back-top {
        left: 12px;
        right: auto;
        bottom: 12px;
    }
}

/* Bigfishop storefront static-page consistency layer.
   Static pages must reuse these rules instead of redefining page-local buttons,
   cards, form controls, shadows, and transitions. */
:root {
    --bf-font: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    --bf-primary: #0b66ff;
    --bf-primary-hover: #0754d6;
    --bf-primary-soft: #eaf2ff;
    --bf-success: #18b46b;
    --bf-danger: #d92d20;
    --bf-warning: #f79009;
    --bf-text: #111827;
    --bf-muted: #667085;
    --bf-border: #d9e2ef;
    --bf-bg: #f4f7fb;
    --bf-surface: #ffffff;
    --bf-radius-sm: 6px;
    --bf-radius-md: 8px;
    --bf-radius-lg: 12px;
    --bf-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
    --bf-shadow-hover: 0 14px 34px rgba(15, 23, 42, 0.12);
    --bf-motion-fast: 160ms ease;
    --bf-motion-base: 220ms ease;
}

html,
body {
    font-family: var(--bf-font);
    color: var(--bf-text);
    background: var(--bf-bg);
    letter-spacing: 0;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 14px;
}

.bf-btn,
.btn-add-address,
.btn-submit-order,
.btn-add-cart,
.btn-buy-now,
.btn-receive,
.tab-btn,
.btn-back,
.qty-minus,
.qty-plus,
.pagination button,
.cart-table button,
.checkout-actions button,
.address-actions button,
.order-actions button,
.favorite-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    gap: 6px;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-sm);
    background: var(--bf-surface);
    color: var(--bf-text);
    padding: 0 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color var(--bf-motion-fast),
        border-color var(--bf-motion-fast),
        color var(--bf-motion-fast),
        box-shadow var(--bf-motion-fast),
        transform var(--bf-motion-fast);
}

.bf-btn:hover,
.btn-add-address:hover,
.btn-submit-order:hover,
.btn-add-cart:hover,
.btn-buy-now:hover,
.btn-receive:hover,
.tab-btn:hover,
.btn-back:hover,
.qty-minus:hover,
.qty-plus:hover,
.pagination button:hover,
.cart-table button:hover,
.checkout-actions button:hover,
.address-actions button:hover,
.order-actions button:hover,
.favorite-actions button:hover {
    border-color: var(--bf-primary);
    color: var(--bf-primary);
    box-shadow: 0 8px 18px rgba(11, 102, 255, 0.12);
    transform: translateY(-1px);
}

.bf-btn:focus-visible,
.btn-add-address:focus-visible,
.btn-submit-order:focus-visible,
.btn-add-cart:focus-visible,
.btn-buy-now:focus-visible,
.btn-receive:focus-visible,
.tab-btn:focus-visible,
.btn-back:focus-visible,
.qty-minus:focus-visible,
.qty-plus:focus-visible,
.pagination button:focus-visible,
.cart-table button:focus-visible,
.checkout-actions button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(11, 102, 255, 0.18);
}

.btn-submit-order,
.btn-add-cart,
.btn-buy-now,
.btn-receive,
.tab-btn.active,
.pagination button.active,
.checkout-actions button[type="submit"] {
    border-color: var(--bf-primary);
    background: var(--bf-primary);
    color: #fff;
}

.btn-submit-order:hover,
.btn-add-cart:hover,
.btn-buy-now:hover,
.btn-receive:hover,
.tab-btn.active:hover,
.pagination button.active:hover,
.checkout-actions button[type="submit"]:hover {
    border-color: var(--bf-primary-hover);
    background: var(--bf-primary-hover);
    color: #fff;
}

.btn-back,
.btn-add-address,
.tab-btn,
.pagination button {
    background: #fff;
    color: #344054;
}

.cart-table td:last-child button,
.favorite-actions .danger,
.order-actions .danger {
    border-color: #ffd5d2;
    background: #fff1f0;
    color: var(--bf-danger);
}

.cart-table td:last-child button:hover,
.favorite-actions .danger:hover,
.order-actions .danger:hover {
    border-color: var(--bf-danger);
    background: var(--bf-danger);
    color: #fff;
}

.bf-card,
.checkout-section,
.cart-section,
.order-card,
.order-info-card,
.order-items-card,
.order-timeline-card,
.favorite-card,
.promotion-card,
.address-card,
.profile-card,
.search-panel,
.filter-panel {
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    background: var(--bf-surface);
    box-shadow: var(--bf-shadow-card);
}

.bf-card:hover,
.order-card:hover,
.favorite-card:hover,
.promotion-card:hover,
.address-card:hover {
    box-shadow: var(--bf-shadow-hover);
    transform: translateY(-1px);
    transition: transform var(--bf-motion-base), box-shadow var(--bf-motion-base);
}

.checkout-section h2,
.cart-section h2,
.order-card h3,
.order-info-card h3,
.order-items-card h3,
.order-timeline-card h3,
.profile-card h3,
.promotion-card h3 {
    margin-top: 0;
    color: var(--bf-text);
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0;
}

.form-control,
.checkout-section input,
.checkout-section select,
.checkout-section textarea,
.filter-panel input,
.filter-panel select,
.search-panel input,
.address-form input,
.address-form select,
.address-form textarea {
    min-height: 36px;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-sm);
    background: #fff;
    color: var(--bf-text);
    padding: 0 10px;
    transition: border-color var(--bf-motion-fast), box-shadow var(--bf-motion-fast);
}

.checkout-section textarea,
.address-form textarea {
    min-height: 88px;
    padding: 8px 10px;
    resize: vertical;
}

.form-control:focus,
.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus,
.address-form input:focus,
.address-form select:focus,
.address-form textarea:focus {
    border-color: var(--bf-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(11, 102, 255, 0.14);
}

.cart-table,
.items-table,
.order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    overflow: hidden;
    background: #fff;
}

.cart-table th,
.items-table th,
.order-table th {
    background: #f0f6ff;
    color: #1d2939;
    font-weight: 800;
}

.cart-table th,
.cart-table td,
.items-table th,
.items-table td,
.order-table th,
.order-table td {
    border-bottom: 1px solid #e7edf6;
    padding: 10px 12px;
}

.empty,
.loading,
.error,
.no-data {
    border: 1px dashed var(--bf-border);
    border-radius: var(--bf-radius-md);
    background: #fbfdff;
    color: var(--bf-muted);
    padding: 22px;
    text-align: center;
}

.error {
    border-color: #ffd5d2;
    background: #fff7f7;
    color: var(--bf-danger);
}

.bf-fade-in,
.checkout-section,
.cart-section,
.order-card,
.favorite-card,
.promotion-card {
    animation: bfFadeLift 220ms ease both;
}

.bf-product-detail {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 48px;
}

.bf-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bf-muted);
    font-size: 13px;
    margin: 8px 0 14px;
}

.bf-detail-breadcrumb a {
    color: #344054;
}

.bf-detail-breadcrumb em {
    color: var(--bf-muted);
    font-style: normal;
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bf-detail-hero {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
}

.bf-detail-gallery {
    min-width: 0;
}

.bf-detail-main-media {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-detail-main-media img,
.bf-detail-main-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.bf-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.bf-detail-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-sm);
    background: #fff;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: border-color var(--bf-motion-fast), box-shadow var(--bf-motion-fast), transform var(--bf-motion-fast);
}

.bf-detail-thumb:hover,
.bf-detail-thumb.is-active {
    border-color: var(--bf-primary);
    box-shadow: 0 0 0 2px rgba(11, 102, 255, .12);
    transform: translateY(-1px);
}

.bf-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-video-mark {
    position: absolute;
    left: 6px;
    bottom: 6px;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, .72);
    color: #fff;
    font-size: 11px;
}

.bf-detail-info {
    min-width: 0;
}

.bf-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.bf-detail-title-row h1 {
    margin: 0;
    color: var(--bf-text);
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0;
}

.bf-detail-title-row p {
    margin: 6px 0 0;
    color: var(--bf-danger);
    font-size: 14px;
}

.bf-detail-favorite {
    width: 38px;
    height: 38px;
    border: 1px solid var(--bf-border);
    border-radius: 50%;
    background: #fff;
    color: #667085;
    cursor: pointer;
    font-size: 20px;
    transition: color var(--bf-motion-fast), border-color var(--bf-motion-fast), transform var(--bf-motion-fast);
}

.bf-detail-favorite:hover {
    color: var(--bf-danger);
    border-color: #ffd5d2;
    transform: translateY(-1px);
}

.bf-detail-price-panel {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: var(--bf-radius-md);
    background: linear-gradient(90deg, #fff7f7, #fbfdff);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.bf-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.bf-detail-price span,
.bf-detail-label {
    color: var(--bf-muted);
    font-size: 14px;
}

.bf-detail-price strong {
    color: var(--bf-danger);
    font-size: 30px;
    line-height: 1;
}

.bf-detail-price del,
.bf-detail-sales {
    color: var(--bf-muted);
}

.bf-detail-sales {
    display: flex;
    gap: 14px;
    white-space: nowrap;
}

.bf-detail-section {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 16px;
}

.bf-detail-sku-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bf-detail-sku {
    min-height: 38px;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-sm);
    background: #fff;
    color: #344054;
    padding: 0 12px;
    cursor: pointer;
    transition: border-color var(--bf-motion-fast), color var(--bf-motion-fast), box-shadow var(--bf-motion-fast);
}

.bf-detail-sku:hover,
.bf-detail-sku.is-active {
    border-color: var(--bf-primary);
    color: var(--bf-primary);
    box-shadow: 0 0 0 2px rgba(11, 102, 255, .12);
}

.bf-detail-quantity {
    display: flex;
    align-items: center;
    gap: 0;
}

.bf-detail-quantity input {
    width: 58px;
    height: 36px;
    border: 1px solid var(--bf-border);
    border-left: 0;
    border-right: 0;
    text-align: center;
    outline: 0;
}

.bf-detail-stock-text {
    margin-left: 12px;
    color: var(--bf-muted);
}

.bf-detail-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.bf-detail-actions .btn-buy-now,
.bf-detail-actions .btn-add-cart {
    min-width: 142px;
    height: 44px;
}

.bf-detail-service {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    color: var(--bf-muted);
}

.bf-detail-service span {
    padding-left: 14px;
    position: relative;
}

.bf-detail-service span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bf-success);
    transform: translateY(-50%);
}

.bf-detail-tabs {
    margin-top: 20px;
    padding: 0;
    overflow: hidden;
}

.bf-detail-tabbar {
    position: sticky;
    top: 44px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-bottom: 1px solid var(--bf-border);
}

.bf-detail-tabbar button {
    height: 52px;
    border: 0;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font-weight: 700;
    transition: color var(--bf-motion-fast), background-color var(--bf-motion-fast);
}

.bf-detail-tabbar button:hover,
.bf-detail-tabbar button.is-active {
    color: var(--bf-primary);
    background: #f6f9ff;
}

.bf-detail-tabbar button.is-active::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--bf-primary);
}

.bf-detail-tab-panel {
    display: none;
    padding: 22px;
}

.bf-detail-tab-panel.is-active {
    display: block;
    animation: bfFadeLift 180ms ease both;
}

.bf-rich-detail {
    color: #1d2939;
    line-height: 1.8;
}

.bf-rich-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bf-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.bf-video-card {
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    overflow: hidden;
    background: #fff;
}

.bf-video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #0f172a;
}

.bf-video-card strong {
    display: block;
    padding: 12px 14px;
    color: var(--bf-text);
    font-size: 14px;
}

.bf-attachment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.bf-attachment-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-sm);
    color: var(--bf-text);
    background: #fff;
    text-decoration: none;
    transition: border-color var(--bf-motion-fast), box-shadow var(--bf-motion-fast), transform var(--bf-motion-fast);
}

.bf-attachment-item:hover {
    border-color: var(--bf-primary);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.bf-attachment-item span {
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--bf-primary);
    background: #eef4ff;
    font-size: 12px;
}

.bf-attachment-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.bf-attachment-item em {
    color: var(--bf-muted);
    font-style: normal;
    font-size: 12px;
}

.bf-param-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    overflow: hidden;
}

.bf-param-grid div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    border-bottom: 1px solid #edf2f7;
}

.bf-param-grid dt,
.bf-param-grid dd {
    margin: 0;
    padding: 12px 14px;
}

.bf-param-grid dt {
    background: #f7faff;
    color: var(--bf-muted);
}

.bf-after-sale {
    color: #344054;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .bf-product-detail {
        width: min(100% - 20px, 720px);
        padding-top: 10px;
    }

    .bf-detail-hero {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .bf-detail-thumbs {
        grid-template-columns: repeat(5, 1fr);
    }

    .bf-detail-price-panel,
    .bf-detail-title-row,
    .bf-detail-sales,
    .bf-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bf-detail-section {
        grid-template-columns: 1fr;
    }

    .bf-detail-tabbar {
        top: 0;
    }

    .bf-param-grid,
    .bf-param-grid div {
        grid-template-columns: 1fr;
    }
}

@keyframes bfFadeLift {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

/* Front customer auth */
.bf-auth-page {
    min-height: 100vh;
    margin: 0;
    background: #f3f7f6;
    color: #122033;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.bf-auth-top {
    height: 64px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #dce8e5;
}

.bf-auth-top-inner {
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bf-auth-logo,
.bf-auth-links {
    display: flex;
    align-items: center;
}

.bf-auth-logo {
    gap: 12px;
    color: #122033;
    font-weight: 800;
    text-decoration: none;
}

.bf-auth-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.bf-auth-links {
    gap: 22px;
}

.bf-auth-links a,
.bf-auth-meta a {
    color: #186f61;
    text-decoration: none;
}

.bf-auth-main {
    min-height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 48px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

.bf-auth-hero {
    min-height: 520px;
    border-radius: 10px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10, 42, 38, .76), rgba(10, 42, 38, .18)),
        radial-gradient(circle at 72% 38%, rgba(255, 255, 255, .52), transparent 18%),
        linear-gradient(135deg, #a8d8c4 0%, #edf8f2 45%, #f7e6d8 100%);
    display: flex;
    align-items: flex-end;
    box-shadow: 0 18px 50px rgba(18, 32, 51, .12);
}

.bf-auth-copy {
    width: min(520px, 84%);
    padding: 56px;
    color: #fff;
}

.bf-auth-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0;
    opacity: .82;
}

.bf-auth-copy h1 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.15;
}

.bf-auth-copy p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    opacity: .92;
}

.bf-auth-card {
    background: #fff;
    border: 1px solid #dce8e5;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(18, 32, 51, .12);
    padding: 30px;
}

.bf-auth-tabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid #e6eeec;
    margin: -4px 0 28px;
}

.bf-auth-tabs a {
    position: relative;
    padding: 0 0 14px;
    color: #526476;
    text-decoration: none;
    font-weight: 700;
}

.bf-auth-tabs a.active {
    color: #122033;
}

.bf-auth-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #168775;
}

.bf-auth-form {
    display: grid;
    gap: 18px;
}

.bf-auth-form label {
    display: grid;
    gap: 8px;
    color: #526476;
    font-size: 14px;
}

.bf-auth-form input[type="text"],
.bf-auth-form input[type="password"],
.bf-auth-form input[type="tel"],
.bf-auth-form input[type="email"] {
    height: 44px;
    border: 1px solid #d5e2df;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    color: #122033;
    background: #fff;
}

.bf-auth-form input:focus {
    border-color: #168775;
    box-shadow: 0 0 0 3px rgba(22, 135, 117, .14);
    outline: none;
}

.bf-auth-agree {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
}

.bf-auth-submit {
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: #168775;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bf-auth-submit:hover {
    background: #0f7666;
    box-shadow: 0 10px 24px rgba(22, 135, 117, .22);
    transform: translateY(-1px);
}

.bf-auth-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

.bf-auth-message {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.bf-auth-message.success {
    background: #e8f7f0;
    color: #137150;
}

.bf-auth-message.error {
    background: #fff1f0;
    color: #b42318;
}

@media (max-width: 820px) {
    .bf-auth-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0;
    }

    .bf-auth-hero {
        min-height: 220px;
    }

    .bf-auth-copy {
        padding: 28px;
    }

    .bf-auth-copy h1 {
        font-size: 30px;
    }

    .bf-auth-card {
        padding: 22px;
    }

    .bf-auth-links {
        gap: 12px;
        font-size: 13px;
    }
}

/* Wildberries-inspired Bigfishop storefront standard.
   The layer extracts layout and interaction patterns while keeping Bigfishop business content. */
:root {
    --wb-primary: #a73afd;
    --wb-primary-gradient: linear-gradient(90deg, #ff40a0 0%, #a73afd 100%);
    --wb-primary-light: #f4e7ff;
    --wb-primary-hover: rgba(167, 58, 253, .9);
    --wb-primary-active: #9231d9;
    --wb-success: #0cb477;
    --wb-warning: #ff8533;
    --wb-danger: #f44;
    --wb-sale-red: #ff4444;
    --wb-white: #fff;
    --wb-bg-light: #f6f6f9;
    --wb-bg-gray: #f1f1f5;
    --wb-border: #e8e8f0;
    --wb-text-main: #242424;
    --wb-text-secondary: #868695;
    --wb-text-tertiary: #9d9da5;
    --wb-radius-sm: 8px;
    --wb-radius-md: 12px;
    --wb-radius-lg: 16px;
    --wb-radius-full: 999px;
    --wb-shadow-light: 0 2px 16px rgba(0, 0, 0, .08);
    --wb-shadow-hover: 0 8px 24px rgba(0, 0, 0, .12);
    --wb-motion-fast: 160ms ease;
    --wb-motion-base: 220ms ease;
    --sy-ozon-blue: var(--wb-primary);
    --sy-ozon-blue-dark: var(--wb-primary-active);
    --sy-ozon-bg: var(--wb-bg-light);
    --sy-ozon-pink: #ff2f8f;
    --sy-ozon-green: var(--wb-success);
    --sy-ozon-ink: var(--wb-text-main);
    --sy-ozon-muted: var(--wb-text-secondary);
}

body.ecom-body {
    background: var(--wb-bg-light);
    color: var(--wb-text-main);
}

.sy-container {
    max-width: 1440px;
}

.sy-ozon-header {
    padding: 10px 0 12px;
    color: var(--wb-white);
    background: var(--wb-primary-gradient);
    border-bottom: 0;
    box-shadow: var(--wb-shadow-light);
}

.sy-ozon-header .sy-header-inner {
    min-height: 58px;
    gap: 12px;
}

.sy-ozon-header .sy-logo img {
    max-height: 46px;
    filter: brightness(0) invert(1);
}

.sy-ozon-header .sy-logo-text {
    color: var(--wb-white);
    font-size: 34px;
}

.sy-catalog-btn {
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: var(--wb-radius-md);
    background: rgba(255, 255, 255, .14);
    color: var(--wb-white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    transition: background-color var(--wb-motion-fast), transform var(--wb-motion-fast), box-shadow var(--wb-motion-fast);
}

.sy-catalog-btn:hover {
    background: rgba(255, 255, 255, .22);
    color: var(--wb-white);
    transform: translateY(-1px);
}

.sy-catalog-btn:active {
    transform: translateY(0) scale(.98);
}

.sy-ozon-header .sy-search-form {
    height: 48px;
    border: 0;
    border-radius: var(--wb-radius-lg);
    background: var(--wb-white);
    box-shadow: 0 6px 18px rgba(70, 18, 122, .16);
}

.sy-ozon-header .sy-search-cat select {
    height: 38px;
    margin: 5px;
    color: var(--wb-text-secondary);
    background: var(--wb-bg-gray);
    border-radius: var(--wb-radius-md);
}

.sy-ozon-header .sy-search-input {
    color: var(--wb-text-main);
}

.sy-ozon-header .sy-search-btn {
    width: 72px;
    border-radius: 0 var(--wb-radius-lg) var(--wb-radius-lg) 0;
    background: transparent;
    color: var(--wb-primary);
    transition: background-color var(--wb-motion-fast), color var(--wb-motion-fast);
}

.sy-ozon-header .sy-search-btn:hover {
    background: var(--wb-primary-light);
    color: var(--wb-primary-active);
}

.sy-action-link,
.sy-action-link:hover,
.sy-action-icon,
.sy-action-link:hover .sy-action-icon,
.sy-ozon-header .sy-nav-links a,
.sy-ozon-header .sy-nav-links a:hover,
.sy-location,
.sy-location a {
    color: var(--wb-white);
}

.sy-action-link {
    opacity: .82;
    transition: opacity var(--wb-motion-fast), transform var(--wb-motion-fast);
}

.sy-action-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.sy-cart-link .sy-cart-count {
    background: var(--wb-sale-red);
}

.sy-nav-row {
    margin-top: 8px;
}

.sy-ozon-header .sy-nav-links {
    gap: 20px;
}

.sy-ozon-header .sy-nav-links a,
.sy-location {
    opacity: .88;
}

.sy-ozon-header .sy-nav-links a:hover,
.sy-location a:hover {
    opacity: 1;
    text-decoration: none;
}

.sy-ozon-promo-strip {
    margin-top: 0;
    background: var(--wb-primary-gradient);
}

.sy-ozon-promo-inner {
    min-height: 56px;
    gap: 18px;
}

.sy-ozon-promo-inner strong {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--wb-radius-full);
    font-size: clamp(20px, 2.5vw, 30px);
}

.sy-ozon-promo-inner span {
    font-size: clamp(16px, 2vw, 24px);
}

.sy-ozon-promo-inner a {
    background: rgba(36, 36, 36, .86);
    transition: background-color var(--wb-motion-fast), transform var(--wb-motion-fast);
}

.sy-ozon-promo-inner a:hover {
    background: #111;
    transform: translateY(-1px);
}

.sy-ozon-hero {
    min-height: 300px;
    margin: 18px 0 22px;
    border-radius: var(--wb-radius-lg);
    background:
        radial-gradient(circle at 70% 36%, rgba(255, 255, 255, .75) 0 16%, transparent 17%),
        linear-gradient(105deg, #ff40a0 0%, #e400d7 46%, #a73afd 100%);
    box-shadow: var(--wb-shadow-light);
}

.sy-config-slide {
    transition: opacity 420ms ease, transform 420ms ease;
}

.sy-config-slide:not(.active) {
    transform: scale(1.01);
}

.sy-config-slide::after {
    background: linear-gradient(90deg, rgba(36, 18, 64, .32), rgba(36, 18, 64, .04) 62%, transparent);
}

.sy-slide-text strong {
    font-size: clamp(34px, 5vw, 64px);
    letter-spacing: 0;
}

.sy-slide-text em {
    font-size: clamp(15px, 1.7vw, 20px);
    font-weight: 700;
}

.sy-hero-arrow {
    background: rgba(255, 255, 255, .74);
    color: var(--wb-text-main);
    transition: background-color var(--wb-motion-fast), transform var(--wb-motion-fast), box-shadow var(--wb-motion-fast);
}

.sy-hero-arrow:hover {
    background: var(--wb-white);
    box-shadow: var(--wb-shadow-light);
    transform: translateY(-50%) scale(1.04);
}

.sy-quick-tiles {
    gap: 14px;
}

.sy-quick-tiles a,
.sy-waterfall-card,
.sy-search-suggest,
.sy-cookie-notice,
.sy-support-panel {
    border: 0;
    border-radius: var(--wb-radius-md);
    box-shadow: var(--wb-shadow-light);
}

.sy-quick-tiles a {
    transition: transform var(--wb-motion-base), box-shadow var(--wb-motion-base);
}

.sy-quick-tiles a:hover {
    transform: translateY(-2px);
    box-shadow: var(--wb-shadow-hover);
}

.sy-waterfall-header .sy-section-title {
    color: var(--wb-text-main);
    font-size: 28px;
}

.sy-waterfall-header .sy-cat-tab {
    border: 0;
    background: var(--wb-white);
    color: var(--wb-text-secondary);
    box-shadow: inset 0 0 0 1px var(--wb-border);
    transition: background-color var(--wb-motion-fast), color var(--wb-motion-fast), transform var(--wb-motion-fast), box-shadow var(--wb-motion-fast);
}

.sy-waterfall-header .sy-cat-tab:hover {
    color: var(--wb-primary);
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(167, 58, 253, .28);
}

.sy-waterfall-header .sy-cat-tab.active {
    background: var(--wb-primary);
    color: var(--wb-white);
    box-shadow: 0 8px 20px rgba(167, 58, 253, .25);
}

.sy-waterfall-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.sy-waterfall-card {
    overflow: hidden;
    background: var(--wb-white);
    transition: transform var(--wb-motion-base), box-shadow var(--wb-motion-base);
}

.sy-waterfall-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wb-shadow-hover);
}

.sy-waterfall-img {
    background: var(--wb-bg-gray);
    border-radius: var(--wb-radius-md);
}

.sy-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.sy-card-quick {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    color: #1f1f29;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(24, 24, 35, .18);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--wb-motion-fast), transform var(--wb-motion-fast), background-color var(--wb-motion-fast);
}

.sy-card-quick:hover,
.sy-card-quick:focus-visible {
    background: rgba(255, 255, 255, .98);
    color: #111;
}

.sy-waterfall-card:hover .sy-card-quick,
.sy-waterfall-card:focus-within .sy-card-quick {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sy-fav-btn {
    background: rgba(255, 255, 255, .9);
    color: var(--wb-text-main);
    backdrop-filter: blur(8px);
    transition: transform var(--wb-motion-fast), background-color var(--wb-motion-fast), color var(--wb-motion-fast);
}

.sy-fav-btn:hover {
    color: var(--wb-primary);
    transform: scale(1.08);
}

.sy-card-badges {
    position: absolute;
    left: 10px;
    right: 48px;
    top: 10px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.sy-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    box-shadow: 0 5px 14px rgba(20, 20, 30, .16);
}

.sy-card-badge-discount {
    background: linear-gradient(135deg, #ff3d47, #ff6b35);
}

.sy-card-badge-value {
    background: linear-gradient(135deg, #7a35ff, #be35ff);
}

.sy-card-badge-campaign {
    background: linear-gradient(135deg, #ff00a8, #b22cff);
}

.sy-sale-badge {
    background: var(--wb-sale-red);
    border-radius: var(--wb-radius-full);
}

.sy-waterfall-card .sy-price-now {
    color: var(--wb-sale-red);
    font-weight: 800;
}

.sy-waterfall-card:nth-child(4n) .sy-price-now,
.sy-waterfall-card:nth-child(7n) .sy-price-now {
    color: var(--wb-sale-red);
}

.sy-card-cart,
.sy-hero-cta,
.sy-cookie-notice button,
.sy-support-toggle {
    border: 0;
    background: linear-gradient(135deg, #a72cff 0%, #7b2cff 100%);
    color: var(--wb-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--wb-motion-fast), box-shadow var(--wb-motion-fast), transform var(--wb-motion-fast), opacity var(--wb-motion-fast);
}

.sy-card-cart::before {
    content: "\1f6d2";
    font-size: 18px;
    line-height: 1;
}

.sy-card-detail::before {
    content: "";
    display: none;
}

.sy-card-cart:hover,
.sy-hero-cta:hover,
.sy-cookie-notice button:hover,
.sy-support-toggle:hover {
    background: linear-gradient(135deg, #b93cff 0%, #8a35ff 100%);
    color: var(--wb-white);
    box-shadow: 0 8px 20px rgba(167, 58, 253, .24);
    transform: translateY(-1px);
}

.sy-card-cart:active,
.sy-hero-cta:active,
.sy-cookie-notice button:active,
.sy-support-toggle:active {
    background: var(--wb-primary-active);
    transform: translateY(0) scale(.98);
}

button:disabled,
.is-loading {
    cursor: wait;
    opacity: .72;
}

button.is-loading,
.sy-card-cart.is-loading {
    position: relative;
    color: transparent !important;
}

button.is-loading::after,
.sy-card-cart.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, .6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sySpin 760ms linear infinite;
}

.sy-loading,
.sy-waterfall-status {
    color: var(--wb-text-secondary);
}

.sy-waterfall-status.is-loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(167, 58, 253, .24);
    border-top-color: var(--wb-primary);
    border-radius: 50%;
    animation: sySpin 760ms linear infinite;
}

@keyframes sySpin {
    to { transform: rotate(360deg); }
}

.sy-notify-stack {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 3200;
    display: grid;
    gap: 10px;
    width: min(420px, calc(100vw - 32px));
    transform: translateX(-50%);
    pointer-events: none;
}

.sy-notify {
    min-height: 42px;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--wb-border);
    border-radius: var(--wb-radius-md);
    background: rgba(255, 255, 255, .98);
    color: var(--wb-text-main);
    box-shadow: var(--wb-shadow-hover);
    opacity: 0;
    transform: translateY(-12px) scale(.98);
    transition: opacity var(--wb-motion-base), transform var(--wb-motion-base);
    pointer-events: auto;
}

.sy-notify.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sy-notify.is-leaving {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
}

.sy-notify-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wb-primary);
    box-shadow: 0 0 0 4px rgba(167, 58, 253, .12);
}

.sy-notify-success .sy-notify-icon {
    background: var(--wb-success);
    box-shadow: 0 0 0 4px rgba(12, 180, 119, .12);
}

.sy-notify-error .sy-notify-icon {
    background: var(--wb-danger);
    box-shadow: 0 0 0 4px rgba(255, 68, 68, .12);
}

.sy-notify-close {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--wb-radius-full);
    background: transparent;
    color: var(--wb-text-secondary);
    cursor: pointer;
}

.sy-notify-close:hover {
    background: var(--wb-bg-gray);
    color: var(--wb-text-main);
}

.sy-confirm-mask {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(36, 36, 36, .42);
    opacity: 0;
    transition: opacity var(--wb-motion-base);
}

.sy-confirm-mask.is-visible {
    opacity: 1;
}

.sy-confirm {
    width: min(380px, 100%);
    border-radius: var(--wb-radius-lg);
    background: var(--wb-white);
    box-shadow: 0 24px 80px rgba(36, 36, 36, .24);
    padding: 22px;
    transform: translateY(10px) scale(.98);
    transition: transform var(--wb-motion-base);
}

.sy-confirm-mask.is-visible .sy-confirm {
    transform: translateY(0) scale(1);
}

.sy-confirm-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--wb-text-main);
}

.sy-confirm-message {
    margin-top: 10px;
    color: var(--wb-text-secondary);
    line-height: 1.7;
}

.sy-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.sy-confirm-actions button {
    min-width: 82px;
    height: 36px;
    border-radius: var(--wb-radius-sm);
    font-weight: 800;
    transition: background-color var(--wb-motion-fast), color var(--wb-motion-fast), transform var(--wb-motion-fast);
}

.sy-confirm-cancel {
    border: 1px solid var(--wb-border);
    background: var(--wb-white);
    color: var(--wb-text-main);
}

.sy-confirm-ok {
    border: 0;
    background: var(--wb-primary);
    color: var(--wb-white);
}

.sy-confirm-ok:hover {
    background: var(--wb-primary-hover);
}

.sy-confirm-actions button:active {
    transform: scale(.98);
}

@media (max-width: 1200px) {
    .sy-waterfall-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sy-ozon-header {
        position: sticky;
    }

    .sy-ozon-header .sy-header-inner {
        grid-template-columns: auto 1fr;
        display: grid;
    }

    .sy-catalog-btn {
        height: 42px;
        padding: 0 14px;
    }

    .sy-ozon-header .sy-search {
        grid-column: 1 / -1;
        width: 100%;
    }

    .sy-header-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        margin: 0;
    }

    .sy-ozon-promo-inner {
        flex-wrap: wrap;
        padding: 10px 0;
        text-align: center;
    }

    .sy-ozon-hero {
        min-height: 220px;
        border-radius: var(--wb-radius-md);
        padding: 26px 24px;
    }

    .sy-slide-text {
        left: 24px;
        right: 24px;
        bottom: 32px;
    }

    .sy-quick-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sy-waterfall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sy-waterfall-img,
    .sy-waterfall-img.sy-ratio-2,
    .sy-waterfall-img.sy-ratio-3,
    .sy-waterfall-img.sy-ratio-4 {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .sy-waterfall-card .sy-product-info {
        padding: 8px;
    }

    .sy-card-cart {
        margin: 0 8px 8px;
    }
}

@media (max-width: 420px) {
    .sy-container {
        padding: 0 10px;
    }

    .sy-quick-tiles {
        grid-template-columns: 1fr;
    }
}

/* Canonical shop storefront pages */
.storefront-page {
    min-height: calc(100vh - 260px);
    padding: 24px 0 48px;
    background: var(--wb-bg-gray, #f5f7fa);
}

.storefront-container,
.order-container,
.product-detail-container,
.product-list-page {
    width: min(1200px, calc(100vw - 32px));
    margin: 0 auto;
}

.storefront-page-head,
.order-container > .page-title,
.product-list-page > .product-list-header {
    margin-bottom: 16px;
}

.storefront-page-head h1,
.storefront-page-head h2,
.page-title {
    margin: 0;
    color: var(--wb-text-main, #1f2937);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

.storefront-page-head p {
    margin: 8px 0 0;
    color: var(--wb-text-secondary, #606266);
}

.storefront-section,
.cart-card,
.checkout-card,
.order-card,
.favorite-card,
.promotion-card,
.product-list-main,
.product-sidebar,
.product-detail-card {
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 8px;
    background: var(--wb-white, #fff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.storefront-section-head,
.cart-head,
.checkout-head,
.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wb-border-light, #ebeef5);
}

.storefront-section-head h2,
.cart-head h2,
.checkout-head h2,
.order-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--wb-text-main, #1f2937);
}

.bf-btn,
.btn-primary,
.btn-submit-order,
.btn-checkout,
.btn-add-cart,
.btn-back,
.btn-outline,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 4px;
    background: var(--wb-white, #fff);
    color: var(--wb-text-main, #1f2937);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bf-btn,
.btn-primary,
.btn-submit-order,
.btn-checkout,
.btn-add-cart {
    border-color: var(--wb-primary, #409eff);
    background: var(--wb-primary, #409eff);
    color: #fff;
}

.btn-outline,
.btn-back {
    background: #fff;
    color: var(--wb-primary, #409eff);
    border-color: var(--wb-primary, #409eff);
}

.btn-danger {
    background: #fff;
    color: var(--wb-danger, #f56c6c);
    border-color: var(--wb-danger, #f56c6c);
}

.bf-btn:hover,
.btn-primary:hover,
.btn-submit-order:hover,
.btn-checkout:hover,
.btn-add-cart:hover {
    background: var(--wb-primary-hover, #337ecc);
    border-color: var(--wb-primary-hover, #337ecc);
    color: #fff;
}

.btn-outline:hover,
.btn-back:hover {
    background: rgba(64, 158, 255, .08);
}

.btn-danger:hover {
    background: rgba(245, 108, 108, .08);
}

.bf-btn[disabled],
.btn-primary[disabled],
.btn-submit-order[disabled],
.btn-checkout[disabled],
.btn-add-cart[disabled] {
    opacity: .58;
    cursor: not-allowed;
}

.loading,
.empty,
.bf-empty-state,
.bf-error-state {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 28px;
    color: var(--wb-text-secondary, #606266);
    text-align: center;
}

.bf-error-state {
    color: var(--wb-danger, #f56c6c);
}

.product-list-page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0 48px;
}

.product-sidebar {
    align-self: start;
    padding: 16px;
}

.product-sidebar h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
}

.category-tree {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-tree a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    color: var(--wb-text-regular, #303133);
}

.category-tree a:hover,
.category-tree a.active {
    background: rgba(64, 158, 255, .12);
    color: var(--wb-primary, #409eff);
}

.product-list-main {
    overflow: hidden;
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wb-border-light, #ebeef5);
}

.product-grid,
.favorite-grid,
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
}

.product-card,
.favorite-card,
.promotion-card {
    overflow: hidden;
}

.product-card a,
.favorite-card a,
.promotion-card a {
    color: inherit;
}

.product-card-img,
.favorite-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--wb-bg-gray, #f5f7fa);
}

.product-card-body,
.favorite-card-body,
.promotion-card-body {
    padding: 12px;
}

.product-card-title,
.favorite-card-title,
.promotion-card-title {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--wb-text-main, #1f2937);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-price,
.favorite-card-price {
    color: var(--wb-danger, #f56c6c);
    font-size: 18px;
    font-weight: 800;
}

.product-card-actions,
.favorite-card-actions,
.promotion-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.product-detail-card {
    display: grid;
    grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--wb-bg-gray, #f5f7fa);
}

.product-detail-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    color: var(--wb-text-main, #1f2937);
}

.product-detail-price {
    margin-bottom: 16px;
    color: var(--wb-danger, #f56c6c);
    font-size: 28px;
    font-weight: 900;
}

.product-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin: 16px 0;
    color: var(--wb-text-secondary, #606266);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
}

.cart-list,
.checkout-list,
.order-list {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.cart-item,
.checkout-item,
.order-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--wb-border-light, #ebeef5);
    border-radius: 8px;
    background: #fff;
}

.cart-item img,
.checkout-item img,
.order-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--wb-bg-gray, #f5f7fa);
}

.cart-item-title,
.checkout-item-title,
.order-item-title {
    color: var(--wb-text-main, #1f2937);
    font-weight: 700;
}

.cart-item-meta,
.checkout-item-meta,
.order-item-meta {
    margin-top: 6px;
    color: var(--wb-text-secondary, #606266);
    font-size: 13px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 4px;
}

.cart-qty button,
.cart-qty input {
    width: 34px;
    height: 32px;
    border: 0;
    background: #fff;
    text-align: center;
}

.cart-qty input {
    border-left: 1px solid var(--wb-border, #dcdfe6);
    border-right: 1px solid var(--wb-border, #dcdfe6);
}

.cart-summary,
.checkout-summary {
    align-self: start;
    position: sticky;
    top: 16px;
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    color: var(--wb-text-secondary, #606266);
}

.summary-row.total {
    margin-top: 8px;
    border-top: 1px solid var(--wb-border-light, #ebeef5);
    color: var(--wb-text-main, #1f2937);
    font-size: 18px;
    font-weight: 800;
}

.address-list,
.payment-list {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.address-item,
.payment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 8px;
    cursor: pointer;
}

.address-item.is-active,
.payment-item.is-active {
    border-color: var(--wb-primary, #409eff);
    background: rgba(64, 158, 255, .08);
}

.bf-address-dialog {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(15, 23, 42, .42);
}

.bf-address-dialog form {
    width: min(520px, 100%);
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
}

.bf-address-dialog label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--wb-text-secondary, #606266);
}

.bf-address-dialog input,
.bf-address-dialog textarea,
.order-filter select,
.sy-search-input,
.sy-search-cat select {
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 4px;
}

.bf-address-dialog input,
.bf-address-dialog textarea {
    min-height: 36px;
    padding: 8px 10px;
}

.checkout-actions,
.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.order-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.order-filter select {
    min-width: 160px;
    height: 36px;
    padding: 0 10px;
}

.bf-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f4f4f5;
    color: #606266;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bf-status-success,
.bf-status-primary,
.bf-status-completed {
    background: #e8f8f0;
    color: #067647;
}

.bf-status-warning,
.bf-status-pending,
.bf-status-created {
    background: #fff7e6;
    color: #b26a00;
}

.bf-status-danger,
.bf-status-error,
.bf-status-cancelled {
    background: #fdecec;
    color: #c0392b;
}

.bf-status-info,
.bf-status-processing,
.bf-status-shipped {
    background: #eaf4ff;
    color: #1d6fd8;
}

.order-body,
.order-detail-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    color: var(--wb-text-secondary, #606266);
}

.order-total strong,
.order-detail-summary strong {
    margin-left: 8px;
    color: #ff4d6d;
    font-size: 18px;
}

.order-detail-card {
    overflow: hidden;
}

.order-detail-section {
    padding: 16px;
    border-top: 1px solid var(--wb-border-light, #ebeef5);
}

.order-detail-section h4 {
    margin: 0 0 12px;
    color: var(--wb-text-main, #1f2937);
    font-size: 16px;
    font-weight: 800;
}

.order-timeline {
    display: grid;
    gap: 8px;
}

.order-timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wb-text-secondary, #606266);
}

.pagination,
.storefront-list-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
}

.pagination button,
.storefront-list-footer button {
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--wb-border, #dcdfe6);
    border-radius: 4px;
    background: #fff;
}

.pagination button.active,
.storefront-list-footer button.active {
    border-color: var(--wb-primary, #409eff);
    background: var(--wb-primary, #409eff);
    color: #fff;
}

@media (max-width: 1024px) {
    .product-list-page,
    .product-detail-card,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .favorite-grid,
    .promotion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cart-summary,
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .storefront-container,
    .order-container,
    .product-detail-container,
    .product-list-page {
        width: min(100% - 20px, 1200px);
    }

    .product-grid,
    .favorite-grid,
    .promotion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .cart-item,
    .checkout-item,
    .order-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-item img,
    .checkout-item img,
    .order-item img {
        width: 64px;
        height: 64px;
    }
}

/* Storefront homepage guardrail: keep the accepted marketplace layout full-width.
   Admin standardization rules must not compress the customer-facing homepage. */
body.ecom-body .sy-container {
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.sy-wb-home .sy-ozon-promo-inner {
    min-height: 82px;
}

.sy-wb-home .sy-ozon-hero {
    min-height: clamp(360px, 23.5vw, 460px);
    margin: 28px 0 32px;
    border-radius: 22px;
}

.sy-wb-home .sy-config-slide picture,
.sy-wb-home .sy-config-slide img {
    width: 100%;
    height: 100%;
}

.sy-wb-home .sy-config-slide img {
    object-fit: cover;
}

.sy-wb-home .sy-quick-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 28px;
}

.sy-wb-home .sy-quick-tiles a {
    min-height: 126px;
    padding: 28px 26px;
}

.sy-wb-home .sy-waterfall-header {
    align-items: center;
}

.sy-wb-home .sy-waterfall-header .sy-cat-tabs {
    margin-left: auto;
}

@media (max-width: 900px) {
    body.ecom-body .sy-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sy-wb-home .sy-quick-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Storefront image-lazy and Wildberries-style UX alignment. */
@media (min-width: 1024px) {
    .sy-ozon-header .sy-header-inner {
        display: grid;
        grid-template-columns: minmax(150px, 220px) auto minmax(420px, 1fr) auto;
        align-items: center;
    }

    .sy-ozon-header .sy-logo {
        min-width: 150px;
    }

    .sy-ozon-header .sy-logo img {
        width: min(13vw, 210px);
        height: auto;
        max-height: 58px;
        object-fit: contain;
    }
}

.sy-catalog-btn {
    min-width: 106px;
    justify-content: center;
}

.sy-catalog-btn.is-open .sy-catalog-icon {
    visibility: hidden;
    position: relative;
}

.sy-catalog-btn.is-open .sy-catalog-icon::after {
    content: "\00d7";
    visibility: visible;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 30px;
    line-height: 1;
}

.sy-header-actions {
    justify-content: flex-end;
}

.sy-action-icon {
    font-size: 24px;
}

.sy-ozon-header .sy-search-form {
    min-height: 54px;
    border-radius: 18px;
}

.sy-ozon-header .sy-search-cat select {
    height: 44px;
    border-radius: 14px;
}

.sy-ozon-header .sy-search-btn {
    width: 82px;
    border-radius: 0 18px 18px 0;
}

.sy-drawer-panel {
    width: min(468px, 86vw);
    padding-top: 10px;
    border-radius: 0;
}

.sy-drawer-head {
    height: 72px;
    padding: 0 26px;
}

.sy-drawer-list {
    padding: 16px 28px 28px;
}

.sy-drawer-list a {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    min-height: 58px;
    gap: 18px;
    padding: 0 6px;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 500;
}

.sy-drawer-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--wb-primary-gradient);
    box-shadow: 0 5px 14px rgba(167, 58, 253, .18);
}

.sy-drawer-list a:nth-child(3n + 2) .sy-drawer-icon {
    background: linear-gradient(135deg, #00c2a8, #8ee6ff);
}

.sy-drawer-list a:nth-child(3n) .sy-drawer-icon {
    background: linear-gradient(135deg, #111, #64646f);
}

.sy-drawer-list em {
    font-size: 30px;
    color: var(--wb-text-secondary);
}

.sy-config-slide picture,
.sy-waterfall-img {
    position: relative;
    overflow: hidden;
}

.sy-config-slide picture::before,
.sy-waterfall-img::before,
.sy-product-skeleton .sy-product-img::before,
.sy-product-skeleton i,
.sy-product-skeleton strong,
.sy-product-skeleton p,
.sy-product-skeleton .sy-card-cart {
    content: "";
    display: block;
    background: linear-gradient(90deg, #ececf2 0%, #f8f8fb 42%, #ececf2 84%);
    background-size: 240% 100%;
    animation: syShimmer 1.15s ease-in-out infinite;
}

.sy-config-slide picture::before,
.sy-waterfall-img::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    transition: opacity 180ms ease;
}

.sy-config-slide picture.is-loaded::before,
.sy-waterfall-img.is-loaded::before {
    opacity: 0;
}

.sy-lazy-img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
}

.sy-lazy-img.is-loaded,
.sy-lazy-img.is-error {
    opacity: 1;
}

.sy-lazy-img.is-error {
    padding: 16%;
    object-fit: contain;
    background: #f3f3f6;
}

@keyframes syShimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

.sy-waterfall-grid {
    display: grid;
    column-count: initial;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 18px;
}

.sy-waterfall-card {
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    min-width: 0;
    border-radius: 16px;
}

.sy-waterfall-img,
.sy-waterfall-img.sy-ratio-2,
.sy-waterfall-img.sy-ratio-3,
.sy-waterfall-img.sy-ratio-4 {
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

.sy-waterfall-img img {
    object-fit: cover;
}

.sy-fav-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(36, 36, 36, .82);
    font-size: 28px;
    line-height: 1;
}

.sy-product-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 2px;
    color: var(--wb-text-main);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sy-product-brand span {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #4c8dff;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .65);
}

.sy-card-cart {
    min-height: 52px;
    margin: auto 10px 10px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
}

.sy-product-skeleton {
    pointer-events: none;
}

.sy-product-skeleton .sy-product-img {
    border-radius: 16px;
}

.sy-product-skeleton .sy-product-info {
    display: grid;
    gap: 10px;
}

.sy-product-skeleton i {
    width: 45%;
    height: 24px;
    border-radius: 8px;
}

.sy-product-skeleton strong,
.sy-product-skeleton p {
    height: 16px;
    border-radius: 8px;
}

.sy-product-skeleton p {
    width: 72%;
}

.sy-product-skeleton .sy-card-cart {
    height: 48px;
    min-height: 48px;
    margin-top: 10px;
}

.sy-support-widget {
    right: 24px;
    bottom: 24px;
}

.sy-support-toggle {
    width: 72px;
    height: 72px;
    font-size: 30px;
    box-shadow: 0 18px 36px rgba(167, 58, 253, .28);
}

.sy-back-top {
    right: 24px;
    bottom: 112px;
    border: 0;
    background: var(--wb-primary);
    color: var(--wb-white);
}

@media (max-width: 1440px) {
    .sy-waterfall-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .sy-waterfall-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sy-waterfall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sy-drawer-list a {
        min-height: 50px;
        font-size: 18px;
    }

    .sy-support-toggle {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }
}

