/* ================= BASE ================= */

* {
    box-sizing: border-box;
}

/* ================= CART ================= */

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff6600;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

.cart-icon{

    display:flex;
    align-items:center;
    gap:6px;

    cursor:pointer;
}

.cart-icon:hover {
    transform: translateY(-2px);
}

.favorite-icon{

position:relative;
cursor:pointer;
font-size:28px;
margin-right:15px;

}

#favoriteCount{

position:absolute;
top:-8px;
right:-10px;

width:22px;
height:22px;

border-radius:50%;

background:#ff2d55;
color:white;

display:flex;
align-items:center;
justify-content:center;

font-size:12px;
font-weight:700;

}

.favorite.active{

color:#ff2d55;

}

.favorite{

cursor:pointer;
font-size:22px;

}

/* count */

#cartCount {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e11d48;
    color: white;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}

/* mini cart */

.mini-cart {
    display: none;
}

/* =========================
   СЕТКА ТОВАРОВ
========================= */
.products{

display:grid;

grid-template-columns:
repeat(auto-fill,minmax(220px,1fr));

gap:20px;

}

.products::-webkit-scrollbar{
display:none;
}

/* =========================
   КАРТОЧКА
========================= */
.card{
position:relative;
background:#fff;
border-radius:22px;
padding:14px;

width:100%;

display:flex;
flex-direction:column;
justify-content:space-between;

height:420px;

box-shadow:
0 10px 24px rgba(0,0,0,.06);

transition:.25s;
}

.card:hover{
transform:
translateY(-4px);
box-shadow:
0 15px 35px rgba(0,0,0,.12);
}

.card-body{
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-link {
    cursor: pointer;
}

.product-link:active {
    transform: scale(0.98);
}

.card-image{

    height:180px;

    margin-bottom:12px;

    overflow:hidden;

    border-radius:18px;

    background:#fafafa;
}

.card-image img{

    width:100%;
    height:100%;

    object-fit:cover;
}

.card:hover .card-image img{

    transform:scale(1.28);
    transition:.3s;
}

/* =========================
   НАЗВАНИЕ
========================= */
.title{
font-size:14px;
font-weight:600;

height:48px;

overflow:hidden;

margin-top:8px;

line-height:1.3;
}

/* =========================
   ЦЕНА
========================= */
.price{
font-size:18px;
font-weight:800;
line-height:1.2;
color:#ff0066;
margin-top:6px;
}

/* =========================
   КНОПКА
========================= */
.card button{
width:100%;

height:42px;

border:none;

border-radius:14px;
background:
linear-gradient(
90deg,
#1ad1bf,
#25a7ff
);
color:white;
font-size:14px;
font-weight:800;
margin-top:12px;
}

.card button:hover{
background:#0b8b8a;
}

/* ================= MODAL ================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: 500px;
    max-width: 90%;

    background: white;

    border-radius: 16px;

    padding: 20px;
}

/* ================= TOAST ================= */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2e7d32;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.mega-column {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s forwards;
}

.mega-column:nth-child(1) { animation-delay: 0.05s; }
.mega-column:nth-child(2) { animation-delay: 0.1s; }
.mega-column:nth-child(3) { animation-delay: 0.15s; }
.mega-column:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* === FIX: dropdown как у Temu === */

.menu-wrapper {
    position: relative;
}

/* =========================
   ОБЩИЙ КОНТЕЙНЕР
========================= */
.container{
width:100%;
max-width:1500px;
margin:auto;
padding:16px;
}

.cat-item.active {
    background: #f3f4f6;
    font-weight: 600;
}

#catRight {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

#catRight.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   FOOTER V2
========================= */

.footer{

    margin-top:6cqmin;

    background:
    linear-gradient(
    90deg,
    #083d45,
    #08698d
    );

    color:#d1d5db;

    padding:40px 20px 10px;

    border-top:2px solid #ff8a00;
}

.footer-container{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr 1fr;

    gap:40px;

    padding-bottom:0;

    align-items:start;
}

.footer-logo{

    width:200px;

    height:auto;

    display:block;

    margin-bottom:10px;

    filter:
    drop-shadow(
        0 6px 12px rgba(0,0,0,.25)
    );
}

.footer-brand h3{

    margin:0;

    color:white;

    font-size:18px;

    font-weight:900;
}

.footer-slogan{

    margin-top:4px;

    color:#ffb347;

    font-size:14px;

    font-weight:700;
}

.footer-desc{
    font-size:13px;
    margin-top:8px;

    color:#9ca3af;

    line-height:1.6;
}

.footer-company{

    margin-top:20px;

    color:#9ca3af;

    font-size:14px;
}

.footer-col{
    position:relative;
}

.footer-col:not(:last-child)::after{

    content:"";

    position:absolute;

    right:-25px;
    top:10px;

    width:1px;
    height:100px;

    background:
    rgba(255,255,255,.12);

}

.footer-col h4{

    color:white;

    margin-bottom:20px;

    font-size:16px;
}

.footer-col a{

    display:block;

    margin-bottom:12px;

    color:#e5e7eb;

    text-decoration:none;

    transition:.2s;
}

.footer-col a:hover{

    color:#ffffff;

    padding-left:4px;

    text-shadow:
    0 0 10px rgba(255,255,255,.3);
}

.payments{

    max-width:1400px;

    margin:0 auto 5px;

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    justify-content:center;
}

.payments img{

    height:32px;

    width:auto;

    object-fit:contain;

    border-radius:6px;

    transition:.2s;
}

.payments img:hover{

    transform:translateY(-2px);
}

.payments{

    max-width:1400px;

    margin:10px auto 5px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;
}

.footer-bottom{

    text-align:center;

    color:#6b7280;

    font-size:13px;

    border-top:
    1px solid rgba(255,255,255,.08);

    padding-top:10px;
    padding-top:25px;
}    

/* APP BUTTONS */
.app-buttons {
    display: flex;
    gap: 10px;
}

.app-btn {
    background: #2a2a2a;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.app-btn:hover {
    background: #333;
}

/* PAYMENTS */
.payments {
    max-width: 1400px;
    margin: 30px auto 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.payments span {
    background: #2a2a2a;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

/* ================= FOOTER UPGRADE ================= */

.certificates {
    max-width: 1400px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.certificates img {
    height: 26px;
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ================= FLOATING BAR ================= */

.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-btn {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
    transition: 0.2s;
}

.float-btn:hover {
    transform: translateY(-3px);
    background: #f5f5f5;
}

body{
margin:0;
font-family:Arial,sans-serif;
display:block;
overflow-x:hidden;
background:
linear-gradient(
to bottom,
#f7f8fa,
#eef2f7
);
}

#products {
    width: 100%;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#loader {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 20px;
}

.images {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg,#ffffff,#f0f0f0);
}

.main-img {
    transition: transform 0.4s ease;
}

.images:hover .main-img {
    transform: scale(1.1);
}

.user-menu {

    position: relative;

    cursor: pointer;

    display:flex;
    align-items:center;
    gap:8px;
}

/* выпадающее меню */

.dropdown {

    position: absolute;

    top:50px;
    right:0;

    min-width:220px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 16px 40px rgba(
        0,0,0,.15
    );

    display:none;

    z-index:9999;
}

.dropdown.show{

    display:block;

}

/* пункты */

.dropdown div{

    padding:
    14px 18px;

    color:#222;          /* ← главное исправление */

    background:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    border-bottom:
    1px solid #eee;

    transition:.15s;
}

.dropdown div:last-child{

    border-bottom:none;

}

.dropdown div:hover{

    background:#f5f5f5;

    color:#ff5a00;
}
/* LOGO */

.logo {

    display:flex;

    align-items:center;

    height:120px;

    flex-shrink:0;
}

.logo img {

    height: 250px;

    width:auto;

    display:block;

    object-fit:contain;
}

/* ================= WB HEADER ================= */

header {
    width: 100%;

    background: linear-gradient(90deg,#0f766e,#0891b2);

    position: sticky;
    top: 0;

    z-index: 9999;
}

.header-inner{

    max-width:1400px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:18px;

    padding:12px 20px;

}

.header {
    border-radius: 0 0 18px 18px;
}

/* LEFT NAV */

.nav-left{

    flex-shrink:0;

}

/* MENU BUTTON */

.menu-trigger {
    height: 52px;

    padding: 0 20px;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255,255,255,0.12);

    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    cursor: pointer;

    transition: 0.2s;
}

.menu-trigger:hover {
    background: rgba(255,255,255,0.2);
}

/* SEARCH */

.search-box{

    flex:1.5;

    max-width:none;

    margin:0 30px;

}

.search-box input{

    width:100%;

    height:54px;

    border:none;

    border-radius:18px;

    padding:0 20px 0 55px;

    font-size:17px;

    background:white;

}

.search-suggestions{

    position:absolute;

    top:58px;
    left:0;

    width:100%;

    background:#fff;

    border-radius:14px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.12);

    overflow:hidden;

    z-index:999;

    display:none;
}

.search-item{

    padding:14px 18px;

    cursor:pointer;

    border-bottom:
    1px solid #eee;

    transition:.15s;
}

.search-item:hover{

    background:#f7f7f7;
}

/* RIGHT */

.header-right{

    display:flex;

    align-items:center;

    gap:20px;

    flex-shrink:0;

}

.header-links{

    max-width:1400px;

    margin:0 auto;

    display:flex;

    align-items:center;

    gap:25px;

    padding:10px 20px;

    color:white;

    font-size:14px;

}

.header-link{

    cursor:pointer;

    transition:.2s;

}

.header-link:hover{

    opacity:.8;

}

.header-inner{

    max-width:1400px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:20px;

    padding:12px 20px;

}

/* =========================
   HEADER V2 CLEAN
========================= */

header{
    background:linear-gradient(
        90deg,
        #0f7f73,
        #0aa4d8
    );
    position:sticky;
    top:0;
    z-index:9999;
}

.header-top{
    max-width:1400px;

    margin:auto;

    display:flex;
    justify-content:center;
    gap:28px;

    padding:4px 20px;

    font-size:13px;
    color:white;

    border-bottom:
    1px solid rgba(255,255,255,.12);
}

.top-link{
    cursor:pointer;
    opacity:.9;
    transition:.2s;
}

.top-link:hover{
    opacity:1;
}

.header-main{
    max-width:1400px;

    margin:auto;

    display:flex;
    align-items:center;

    gap:20px;

    padding:4px 20px;
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

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

/* MENU */

.nav-left{
    flex-shrink:0;
}

.menu-trigger{
    height:42px;
    padding:0 24px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    border-radius:18px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.25);

    color:white;

    font-size:17px;
    font-weight:600;

    cursor:pointer;
}

/* SEARCH */

.search-box{
    flex:1;

    position:relative;

    display:flex;
    align-items:center;
}

.search-box input{
    width:100%;
    height:44px;

    border:none;
    border-radius:18px;

    background:white;

    padding:0 20px 0 55px;

    font-size:17px;
}

.search-icon{
    position:absolute;

    left:18px;
    top:50%;

    transform:translateY(-50%);

    font-size:18px;
    opacity:.6;

    pointer-events:none;
}

/* RIGHT */

.header-right{
    display:flex;
    align-items:center;
    gap:20px;

    flex-shrink:0;
}

#userBlock{
    color:white;
    font-size:18px;
    font-weight:600;
}

.user-menu{
    color:white;
}

.cart-icon{
    width:58px;
    height:58px;

    border-radius:50%;

    background:white;

    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;

    font-size:28px;

    cursor:pointer;
}

#cartCount{
    position:absolute;

    top:-4px;
    right:-4px;

    width:28px;
    height:28px;

    border-radius:50%;

    background:#e91e63;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;
}

/* MENU */

.menu-container {

    display: none;

    position: absolute;

    top: 58px;
    left: 0;

    width: 980px;

    min-height: 320px;   /* минимальная */

    max-height: 520px;   /* максимум */

    height: auto;        /* растягивается по контенту */

    background: white;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.2);

    z-index: 99999;
}

.menu-container.show {
    display: flex;
}

/* LEFT */

.categories-left {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #f0f0f0;
    padding: 10px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* CAT */

.cat-item {
    padding: 16px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.cat-item:hover {
    background: #f6f7fb;
    color: #0ea5a4;
    padding-left: 28px;
}

/* RIGHT */

.categories-right {

    flex:1;

    background:#fcfcfc;

    padding:18px 22px 8px 22px;

    overflow-y:auto;
}

.categories-right.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ================= PRODUCT PAGE ================= */

.product-page {
    max-width: 1280px;
    margin: 50px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 520px 1fr 340px;
    gap: 30px;

    align-items: start;
}

.images {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    position: relative;
}

.thumbs-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbs-vertical img {
    width: 60px;
    height: 60px;
    object-fit: cover;

    border-radius: 10px;
    cursor: pointer;

    border: 2px solid transparent;
    transition: 0.2s;
}

.thumbs-vertical img.active,
.thumbs-vertical img:hover {
    border-color: #ff6600;
}

.main-image-box {
    position: relative;

    width: 520px;
    height: 520px;

    background: white;

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.08);
}

.main-img {
    width: 96%;
    height: 96%;
    object-fit: contain;

    transition: 0.3s;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;

}

.rating {
    color: #ffaa00;
    font-size: 15px;
}

/* =========================
   СТАРАЯ ЦЕНА
========================= */
.old-price{

    display:inline-block;

    background:#ffe5ea;

    color:#777;

    padding:3px 10px;

    border-radius:20px;

    font-size:14px;

    font-weight:700;

    text-decoration:line-through;

    text-decoration-color:#ff3366;

    text-decoration-thickness:2px;

}

.delivery {
    color: green;
    font-weight: 600;
}

.specs {
    background: white;

    border-radius: 20px;

    padding: 20px;

    box-shadow:
        0 8px 24px rgba(15,23,42,0.06);
}

.spec-row {
    display: flex;
    justify-content: space-between;

    padding: 14px 0;

    border-bottom: 1px solid #eee;
}

.spec-row:last-child {
    border-bottom: none;
}

.buy-box {
    background: white;

    padding: 18px;

    border-radius: 24px;

    position: sticky;
    top: 100px;

    box-shadow:
        0 12px 34px rgba(15,23,42,0.08);

    height: fit-content;
    width: 100%;
    max-width: 340px;
    min-width:300px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    width: 100%;
    height: 52px;

    border: none;
    cursor: pointer;

    border-radius: 14px;

    font-size: 15px;
    font-weight: 700;

    transition: 0.2s;
}

.btn-buy {
    background: linear-gradient(90deg,#0ea5a4,#0891b2);
    color: white;
}

.btn-cart {
    background: #2d6cdf;
    color: white;
}

.btn-link {
    background: white;

    border: 2px solid #0ea5a4;

    color: #0f766e;

    font-weight: 700;

    transition: 0.2s;
}

.btn-link:hover {
    background: #0ea5a4;
    color: white;
}

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

    margin-top: 20px;
}

.related-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.2s;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(15,23,42,0.06);
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-title {
    padding:12px;
    font-size:13px;
    font-weight:600;
    height:34px;
    overflow:hidden;
}

.related-price {
    padding: 0 12px 14px;
    color: #e60023;
    font-size: 22px;
    font-weight: 700;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    background: rgba(255,255,255,0.95);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    cursor: pointer;

    z-index: 10;
}

.nav.left {
    left: 15px;
}

.nav.right {
    right: 15px;
}

.timer {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 8px;
}

.time {
    min-width: 38px;

    padding: 6px 8px;

    background: #e60023;
    color: white;

    border-radius: 8px;

    text-align: center;
    font-weight: 700;
}

/* ================= PRODUCT BOTTOM ================= */

.product-bottom {

    max-width: 1280px;

    margin: 60px auto;

    padding: 0 20px 120px;

}

/* tabs */
.tabs {
    display: flex;
    gap: 30px;

    margin-bottom: 20px;

    border-bottom: 2px solid #eee;
}

.tab {
    padding-bottom: 12px;

    cursor: pointer;

    font-weight: 700;
    color: #777;

    position: relative;
}

.tab.active {
    color: #111;
}

.tab.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -2px;

    width: 100%;
    height: 2px;

    background: #ff6600;
}

/* content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* blocks */
.block {
    background: white;

    padding: 24px;

    border-radius: 20px;

    box-shadow:
        0 8px 24px rgba(15,23,42,0.06);
}

/* review */
.review {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

/* form */
.review-form {
    margin-top: 20px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-form input,
.review-form textarea {
    width: 100%;

    padding: 14px;

    border-radius: 12px;

    border: 1px solid #ddd;

    font-size: 14px;
}

.review-form textarea {
    min-height: 120px;
    resize: vertical;
}

.review-form button {
    background: linear-gradient(90deg,#0ea5a4,#0891b2);

    color: white;

    border: none;

    padding: 14px;

    border-radius: 12px;

    font-weight: 700;

    cursor: pointer;
}

/* desc */
.desc-block ul {
    padding-left: 20px;
}

.desc-block li {
    margin-bottom: 10px;
}

/* sticky */
.sticky-bar {
    position: fixed;

    left: 0;
    right: 0;
    bottom: -120px;

    background: white;

    border-top: 1px solid #eee;

    box-shadow:
    0 -8px 24px rgba(15,23,42,0.08);

    transition: 0.3s;

    z-index: 9999;
}

.sticky-bar.show {
    bottom: 0;
}

.sticky-inner {
    max-width: 1200px;

    margin: auto;

    padding: 14px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 18px;

    opacity: 0.6;

    pointer-events: none;
}

/* ===== RIGHT CONTENT ===== */

.mega-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mega-column {
    min-width: 0;
}

.mega-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}

/* ===== CATEGORIES ===== */

.circle-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(78px, 1fr));

    gap: 16px 14px;
}

.circle-item {
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    min-width: 0;
}

.circle-item:hover {
    transform: translateY(-3px);
}

.circle {

    width:64px;
    height:64px;

    border-radius:50%;

    background:#f5f5f5;

    display:flex;

    align-items:center;
    justify-content:center;

    overflow:hidden;

    margin:0 auto 10px;
}

.circle img {

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}

.circle-item:hover .circle {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.circle-text {

    font-size: 11px;

    color: #333;

    line-height: 1.15;

    word-break: break-word;
}

/* ===== BANNERS ===== */

.mega-banners {
    grid-column: span 3;

    display: flex;
    gap: 16px;

    margin-top: 10px;
}

.banner {
    flex: 1;

    background: linear-gradient(135deg,#fff4ec,#ffe0cc);

    border-radius: 16px;

    padding: 16px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.banner:hover {
    transform: translateY(-3px);
}

.banner span {
    display: block;
    margin-top: 6px;
    color: #ff6600;
}

/* ================= PRODUCT BUYBOX UPGRADE ================= */

.qty-box {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 18px;
}

.qty-btn {
    width: 52px;
    height: 52px;

    border: none;

    border-radius: 14px;

    background: #f3f4f6;

    color: #111;

    font-size: 28px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.qty-btn:hover {
    background: #e5e7eb;

    transform: translateY(-2px);
}

.qty-value {
    width: 70px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border: 2px solid #f1f5f9;

    border-radius: 14px;

    font-size: 22px;
    font-weight: 800;
}

/* CART BUTTON */

.btn-cart {
    height: 56px;

    border-radius: 16px;

    font-size: 18px;

    background: linear-gradient(90deg,#2563eb,#3b82f6);

    box-shadow:
        0 10px 25px rgba(37,99,235,.25);
}

.btn-cart:hover {
    transform: translateY(-2px);
}

/* REMOVE BUTTON */

.btn-danger {
    background: white;

    color: #ef4444;

    border: 2px solid #fee2e2;
}

.btn-danger:hover {
    background: #fef2f2;
}

/* TRUST */

.buy-trust {
    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid #eee;

    display: flex;
    flex-direction: column;

    gap: 10px;

    color: #666;

    font-size: 14px;
}

.buy-trust div {
    display: flex;
    align-items: center;

    gap: 10px;
}

.product-page {
    margin-bottom: 80px;
}

.details {
    min-width: 0;
}

.product-price {
    font-size: 64px;
    font-weight: 900;
    color: #e60023;

    letter-spacing: -3px;

    margin-bottom: 20px;
}

.cat-left-wrap {

    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-left-circle {

    width: 54px;
    height: 54px;

    border-radius: 50%;

    object-fit: cover;

    background: #eee;

    flex-shrink: 0;
}

.cat-left-title {
    font-size: 18px;
    font-weight: 700;
}

.cat-arrow {
    margin-left: auto;
    font-size: 28px;
    color: #777;
}

/* ===================
ПОЛОСА ПРЕИМУЩЕСТВ
=================== */
.top-benefits{
display:flex;
justify-content:center;
gap:50px;
padding:10px;
background:#0b6b78;
color:white;
font-size:14px;
}

/* ===================
БАННЕР
=================== */
.hero-banner{
margin:20px 0;
border-radius:30px;
padding:50px;
background:
linear-gradient(
120deg,
#1037ff,
#6528ff
);

display:flex;
justify-content:space-between;
align-items:center;
color:white;
overflow:hidden;
}

.hero-left h1{
font-size:52px;
margin:0;
}

.hero-left p{
font-size:22px;
}

.hero-left button{
padding:
14px 28px;
border:none;
border-radius:14px;
font-weight:700;
cursor:pointer;
}

.hero-right img{
height:260px;
object-fit:contain;
}

.hero-logo{

    max-width:320px;

    width:100%;

    height:auto;

    object-fit:contain;

}

/* =====================
БЛОКИ ГЛАВНОЙ
===================== */
.home-block{
margin:
35px 0;
}

/* ======================
   БАННЕРЫ РАЗДЕЛОВ
====================== */

.section-banner{

    position:relative;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:95px;

    padding:20px 26px;

    margin-bottom:20px;

    border-radius:18px;

    color:white;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);

    transition:.25s;
}

.section-banner:hover{

    transform:translateY(-2px);

    box-shadow:
        0 16px 35px rgba(0,0,0,.14);
}

.section-banner-bg{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:1;
}

.banner-text{

    position:relative;

    z-index:2;

    padding-left:6px;
}

.section-banner h2{

    margin:0;

    font-size:24px;

    font-weight:800;

    line-height:1.1;
}

.section-banner p{

    margin:6px 0 0;

    font-size:15px;

    opacity:.95;
}

.section-banner a{

    display:inline-flex;

    align-items:center;

    margin-top:14px;

    padding:8px 16px;

    border-radius:30px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(8px);

    color:white;

    text-decoration:none;

    font-weight:700;

    transition:.25s;
}

.section-banner a:hover{

    background:rgba(255,255,255,.28);

    transform:translateX(4px);
}

.favorite{
position:absolute;
top:14px;
right:14px;

width:32px;
height:32px;

display:flex;
align-items:center;
justify-content:center;

font-size:18px;
background:white;

border-radius:50%;

box-shadow:
0 4px 12px rgba(0,0,0,.12);

z-index:6;
}

.discount{
position:absolute;

top:14px;
left:14px;

background:
linear-gradient(
135deg,
#ff0055,
#ff3d7f
);

color:#fff;

padding:7px 12px;

border-radius:12px;

font-size:18px;
font-weight:800;

box-shadow:
0 6px 18px rgba(255,0,80,.35);

z-index:8;
}

.product-badge{

position:absolute;

top:56px;
left:14px;

background:
linear-gradient(
135deg,
#ff7a18,
#ff3d00
);

color:white;

padding:7px 14px;

border-radius:12px;

font-size:13px;
font-weight:800;

line-height:1;

z-index:15;

box-shadow:
0 4px 12px rgba(255,122,24,.35);

}

.sale-label{

position:absolute;

top:94px;
left:14px;

background:#7c3aed;
color:white;

padding:7px 14px;

border-radius:12px;

font-size:13px;
font-weight:800;

line-height:1;

z-index:10;

box-shadow:
0 4px 12px rgba(124,58,237,.35);

}

.stock{
margin-top:8px;
font-size:14px;
}

/* =====================
   CATEGORY TOP
===================== */

.category-top{

display:flex;
align-items:center;
gap:24px;

padding:22px 28px;

margin:30px 0;

background:#fff;

border-radius:22px;

box-shadow:
0 10px 30px rgba(0,0,0,.05);

flex-wrap:wrap;

}

#productsCount{

font-size:32px;
font-weight:800;
color:#555;

}

#brandSelect,
#sortSelect{

height:52px;

padding:0 18px;

border:1px solid #e7e7e7;

border-radius:14px;

background:white;

font-size:16px;

cursor:pointer;

min-width:180px;

transition:.2s;

}

#brandSelect:hover,
#sortSelect:hover{

border-color:#ff8a00;

}

#brandSelect:focus,
#sortSelect:focus{

outline:none;

border-color:#ff8a00;

box-shadow:
0 0 0 4px rgba(255,138,0,.12);

}

@media(max-width:700px){

.container h1{
font-size:36px;
}

.category-top{
padding:18px;
gap:16px;
}

#productsCount{
font-size:22px;
}

#brandSelect,
#sortSelect{
width:100%;
font-size:15px;
}

}

/* =====================
CATEGORY LAYOUT
===================== */

.category-layout{

display:grid;

grid-template-columns:
280px 1fr;

gap:40px;

align-items:start;

}

.products-wrap{

width:100%;

}

/* левая колонка */

.filters{

width:280px;

background:white;

padding:26px;

border-radius:24px;

box-shadow:
0 12px 35px rgba(0,0,0,.06);

position:sticky;

top:110px;

height:fit-content;

}

/* заголовок */

.filters h3{

margin:0 0 24px;

font-size:26px;

font-weight:800;

}

#resetFilters{

width:100%;

height:48px;

border:none;

border-radius:14px;

background:#f3f4f6;

font-size:15px;

font-weight:700;

cursor:pointer;

margin-bottom:24px;

transition:.2s;

}

#resetFilters:hover{

background:#e5e7eb;

transform:translateY(-2px);

}

/* блок фильтра */

.filters label{

display:flex;

flex-direction:column;

gap:10px;

margin-bottom:24px;

font-size:15px;

font-weight:700;

color:#444;

}

/* input */

.filters input{

height:52px;

padding:0 18px;

border:

1px solid #e5e5e5;

border-radius:14px;

font-size:16px;

background:#fafafa;

transition:.2s;

}

.filters input:focus{

outline:none;

border-color:#ff8a00;

background:white;

box-shadow:
0 0 0 4px rgba(255,138,0,.12);

}

/* =====================
CATEGORY MOBILE
===================== */

@media(max-width:900px){

.category-layout{

grid-template-columns:1fr;

}

.filters{

width:100%;
position:static;

}

}

@media(max-width:900px){

    .footer-container{

        grid-template-columns:1fr;

        gap:30px;
    }

}

/* =========================
   STATIC PAGES
========================= */

.page-container{

    max-width:1200px;

    margin:60px auto;

    padding:0 20px;
}

.page-hero{

    text-align:center;

    margin-bottom:40px;
}

.page-hero h1{

    font-size:48px;

    color:#111;

    margin-bottom:15px;
}

.page-hero p{

    font-size:20px;

    color:#666;
}

.page-card{

    background:white;

    border-radius:24px;

    padding:35px;

    margin-bottom:25px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.page-card h2{

    margin-top:0;

    color:#0f766e;
}

.page-card p{

    line-height:1.8;

    color:#444;
}

.page-card ul{

    padding-left:20px;

    line-height:2;
}

/* =========================
   ABOUT PAGE
========================= */

.features-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:20px;
}

.feature-box{

    font-size:42px;

    background:#f8fafc;

    border-radius:20px;

    padding:25px;

    text-align:center;

    transition:.2s;

    min-height:220px;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

.feature-box:hover{

    transform:translateY(-4px);

    box-shadow:
    0 12px 30px rgba(15,23,42,.10);
}

.feature-box h3{

    font-size:22px;

    margin:12px 0;

    line-height:1.2;
}

.feature-box p{

    font-size:15px;

    line-height:1.5;

    color:#666;
}

.feature-box .icon{

    font-size:48px;

    margin-bottom:10px;
}

.icon{

    font-size:48px;

    margin-bottom:12px;
}

.feature-box{

    min-height:180px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;
}

.feature-box h3{

    font-size:22px;

    line-height:1.2;

    margin:10px 0 15px;
}

.feature-box p{

    font-size:15px;

    line-height:1.6;

    color:#666;
}

/* STATISTICS */

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:20px;
}

.stat-box{

    text-align:center;

    background:#f8fafc;

    border-radius:20px;

    padding:30px 20px;

    transition:.2s;
}

.stat-box:hover{

    transform:translateY(-4px);

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.stat-number{

    font-size:42px;

    font-weight:900;

    color:#0f766e;

    margin-bottom:10px;
}

.stat-text{

    color:#666;

    font-size:15px;
}.about-cta{

    text-align:center;
}

.about-btn{

    display:inline-block;

    margin-top:20px;

    padding:14px 30px;

    border-radius:14px;

    text-decoration:none;

    color:white;

    font-weight:700;

    background:
    linear-gradient(
        90deg,
        #0f766e,
        #0891b2
    );

    transition:.2s;
}

.about-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(8,145,178,.25);
}

.returns-steps{

    padding-left:25px;

    line-height:2;

    color:#444;
}

.returns-steps li{

    margin-bottom:10px;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form{

    display:flex;
    flex-direction:column;

    gap:16px;
}

.contact-form input,
.contact-form textarea{

    width:100%;

    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:14px 18px;

    font-size:15px;

    background:white;
}

.contact-form textarea{

    min-height:140px;

    resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:#0f766e;

    box-shadow:
    0 0 0 4px rgba(15,118,110,.12);
}

.contact-form button{

    height:52px;

    border:none;

    border-radius:14px;

    background:
    linear-gradient(
        90deg,
        #0f766e,
        #0891b2
    );

    color:white;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.contact-form button:hover{

    transform:translateY(-2px);
}

/* =========================
   FAQ
========================= */

.faq-item{

    padding:20px 0;

    border-bottom:1px solid #e5e7eb;
}

.faq-item:last-child{

    border-bottom:none;
}

.faq-item h3{

    margin:0 0 10px;

    color:#111;

    font-size:18px;
}

.faq-item p{

    margin:0;

    color:#555;

    line-height:1.8;
}

.page-container{

max-width:1400px;
margin:30px auto;
padding:0 20px;

}

.page-title{

font-size:32px;
margin-bottom:25px;

}

.products-grid{

display:grid;

grid-template-columns:
repeat(auto-fill,minmax(220px,1fr));

gap:20px;

}

.empty-favorites{

text-align:center;
padding:80px 20px;

font-size:22px;
color:#999;

}

.rating-select{

display:flex;
gap:5px;
margin-bottom:15px;

}

.review-star{

font-size:28px;
cursor:pointer;
opacity:.3;
transition:.2s;

}

.review-star.active{

opacity:1;

}

.review{

padding:15px;
margin-bottom:15px;
background:#fafafa;
border-radius:12px;
border:1px solid #eee;

}

.review b{

display:block;

font-size:15px;
font-weight:700;

margin-bottom:8px;

}

.review-stars{

margin-bottom:10px;

font-size:18px;

color:#f5b301;

}

/* Sticky Buy Bar только для мобильных */

@media (min-width: 992px) {

    .sticky-bar {
        display: none !important;
    }

}

/* =========================
   HERO SLIDER
========================= */

.hero-slider{
    position:relative;
    width:100%;
    height:520px;
    margin:25px 0 40px;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
}

.hero-slides{
    position:relative;
    width:100%;
    height:100%;
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;
}

.hero-slide.active{
    opacity:1;
    z-index:2;
}

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

.hero-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(10px);
    font-size:30px;
    cursor:pointer;
    z-index:10;
}

.hero-arrow.prev{
    left:20px;
}

.hero-arrow.next{
    right:20px;
}

.hero-dots{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    z-index:20;
}

.hero-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    cursor:pointer;
    transition:.3s;
}

.hero-dot.active{
    width:36px;
    border-radius:20px;
    background:white;
}

@media(max-width:900px){

.hero-slider{
    height:260px;
}

.hero-arrow{
    width:42px;
    height:42px;
    font-size:22px;
}

}

.hero-overlay{

    position:absolute;

    left:70px;
    top:50%;

    transform:translateY(-50%);

    z-index:20;

    display:flex;
    flex-direction:column;

    align-items:flex-start;
}

.hero-logo{

    width:220px;

    height:auto;

    margin-bottom:28px;

    filter:drop-shadow(0 8px 20px rgba(0,0,0,.25));

}

.hero-text{

    font-size:52px;

    font-weight:800;

    line-height:1.15;

    color:white;

    text-shadow:
        0 4px 18px rgba(0,0,0,.45);

}

/* ================= HERO TEXT ================= */

.hero-content{
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    color: white;
}

.hero-logo{
    width: 220px;
    height: auto;
    margin-bottom: 30px;
}

.hero-content h2{
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    max-width: 500px;

    color: white;

    text-shadow:
        0 4px 20px rgba(0,0,0,.35);
}

