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

html{

    height:100%;

}

/* HERO */

.hero-slider{

    margin-top:120px;

    position:relative;

    height:85vh;

    overflow:hidden;
}



.slide{

    position:absolute;

    inset:0;

    background-size:cover;
    background-position:center;

    display:flex;

    align-items:center;

    padding-left:120px;

    opacity:0;

    transition:opacity 1s ease;

}

.slide.active{

    opacity:1;

    z-index:1;
}
.hero-overlay{

    position:relative;

    z-index:20;

    max-width:700px;

    padding:40px 80px;

    text-align:left;

    color:#e8e3e3;

    max-width:700px;
}

.hero-overlay h1{
    color:#F8F2E8;
        text-shadow:
        0 2px 10px rgba(0,0,0,.25);
}

.hero-overlay p{
    color:#F8F2E8;
        text-shadow:
        0 2px 8px rgba(0,0,0,.2);
}
.hero-overlay h1{

    font-size:92px;
    font-weight:300;

    margin-bottom:20px;
}

.hero-overlay p{

    font-size:24px;

    margin-bottom:30px;
}

.hero-overlay button{

    border:none;

    background:#E8CFCF;
    color:#4D3A3A;

    padding:16px 36px;

    border-radius:8px;

    cursor:pointer;
}
.category-image{
    width:100%;
    height:220px;
    overflow:hidden;
    border-radius:18px;
}
.category-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.4s;
}
.category-card:hover img{
    transform:scale(1.05);
}
.category-card{
    transition:0.3s;
}

.category-card:hover{
    transform:translateY(-5px);

    box-shadow:
    0 15px 40px
    rgba(168,120,134,0.15);
}
.slider-dots{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    display:flex;
    gap:10px;
}

.dot{

    width:12px;
    height:12px;

    border-radius:50%;

    background:rgba(255,255,255,.4);
}

.dot.active{
    background:white;
}

.categories{
    padding:80px;
    background:white;
}

.section-title{

    font-size:56px;

    font-weight:300;

    line-height:1.1;

    letter-spacing:-1px;

    color:#4b4040;

    margin-bottom:48px;

    text-wrap:balance;

}

.designer-grid{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:120px;

    padding-bottom:20px;

}
.designer-card{

    width:220px;

    min-width:220px;

    display:flex;

    flex-direction:column;

    align-items:center;
}

.category-card{
    cursor:pointer;
}

.category-image{
    height:220px;
    border-radius:16px;

    background:linear-gradient(
        135deg,
        #efefef,
        #dcdcdc
    );

    transition:.3s;
}

.category-card:hover .category-image{
    transform:translateY(-8px);
}

.category-card h3{
    margin-top:15px;
    font-size:18px;
}

.products{
    padding:40px 80px 80px;
    background:#fff;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-card{
    transition: all 0.35s ease;
    cursor: pointer;
}

.product-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-image{

    height:420px;

    border-radius:20px;

    background:#f4f4f4;

    transition:.3s; 
}

.product-image img{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;

}

.product-card:hover .product-image{
    transform:translateY(-8px);
}

.product-name{
    margin-top:20px;
    font-size:18px;
}

.price-row{
    margin-top:12px;
}

.price{
    font-weight:700;
}

.old-price{
    color:#999;
    margin-left:10px;
    text-decoration:line-through;
}

.colors{
    display:flex;
    gap:8px;
    margin-top:15px;
}

.colors span{
    width:16px;
    height:16px;
    border-radius:50%;
    background:#999;
}
.interior-ideas{
    padding:20px 70px;
}

.ideas-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.idea-card{
    overflow:hidden;
    border-radius:24px;
    cursor:pointer;
    transition:0.4s;
}

.idea-card:hover{
    transform:translateY(-10px);
}

.idea-card img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
    transition:0.6s;
}

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

.idea-content{
    padding:25px 10px;
}

.idea-content h3{
    font-size:28px;
    margin-bottom:10px;
}

.idea-content p{
    color:#666;
    font-size:16px;
}

::selection{

    background:#E8CFCF;

    color:#4D3A3A;
}

.slider-arrows{

    position:absolute;

    right:40px;
    bottom:40px;

    display:flex;

    gap:15px;

    z-index:20;
}

.slider-arrows button{

    width:60px;
    height:60px;

    border:none;

    border-radius:50%;

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

    backdrop-filter:blur(10px);

    color:white;

    font-size:24px;

    cursor:pointer;

    transition:.3s;
}

.slider-arrows button:hover{

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

    transform:scale(1.05);
}

.category-card-link{

    text-decoration:none;

    color:inherit;

    display:block;
}

/* =======================
   DESIGNER CATALOG
======================= */

.designer-catalog{

    padding:60px 70px 30px;

    background:#fffdfd;
}

.designer-catalog h2{

    font-size:56px;

    font-weight:600;

    margin-bottom:20px;

    color:#4f4346;
}

.designer-card{

    text-decoration:none;

    color:inherit;

    transition:.35s;

    display:flex;

    flex-direction:column;

    align-items:center;
}
.designer-card:hover{

    transform:translateY(-8px);
}
.designer-image{

    width:180px;

    height:180px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto;

}
.designer-image img{
    max-width:180px;
    max-height:180px;

    width:auto;
    height:auto;

    object-fit:contain;

    display:block;

    margin:0 auto;
}

.designer-card:hover
.designer-image img{

    transform:scale(1.05);
}

.designer-bottom span{

    font-size:32px;

    font-weight:600;

    color:#4f4346;
}


.designer-card h3{

    width:100%;

    text-align:center;

    font-size:20px;

    font-weight:500;

    color:#4f4346;

    margin-top:20px;

}
.designer-card:hover
.designer-arrow{

    width:34px;

    height:34px;

    border-radius:10px;

    font-size:16px;

    background:#d8b7c1;
}

.designer-catalog h2{

    font-size:48px;

    font-weight:500;

    line-height:1.1;

    color:#4f4346;

    margin-bottom:40px;

    white-space:nowrap; 
}

.idea-image{

    position:relative;

    overflow:hidden;

    border-radius:24px;

}

.hotspot{

    position:absolute;

    z-index:20;

}

.hotspot-1{

    left:20%;
    top:45%;

}
.hotspot-2{

    left:20%;
    top:50%;

}
.hotspot-3{

    left:55%;
    top:55%;

}


.hotspot-dot{

    width:28px;
    height:28px;

    border-radius:50%;

    background:white;

    border:3px solid black;

    cursor:pointer;

    transition:.3s;

}

.hotspot-dot::after{

    content:"";

    position:absolute;

    left:50%;
    top:50%;

    width:10px;
    height:10px;

    border-radius:50%;

    background:black;

    transform:translate(-50%,-50%);

}

.hotspot-card{

    position:absolute;

    top:-10px;

    left:28px;

    width:180px;

    background:white;

    border-radius:14px;

    padding:10px;

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

    opacity:0;

    visibility:hidden;

    transform:translateY(10px) scale(.96);

    transition:.3s;

    z-index:50;

}

.hotspot-card h4{

    font-size:18px;

    color:#3E3131;

    margin-bottom:6px;

}

.hotspot-card p{

    color:#a87886;

}

.hotspot-1:hover .hotspot-card,
.hotspot-2:hover .hotspot-card,
.hotspot-3:hover .hotspot-card{

    opacity:1;

    visibility:visible;

    transform:
        translateY(0)
        scale(1);

}

.hotspot-card img{

    width:100%;

    height:100px;

    object-fit:contain;

    margin-bottom:8px;

}

.hotspot-card h4{

    font-size:14px;

    margin-bottom:4px;

    line-height:1.3;

}

.hotspot-card p{

    font-size:13px;

    font-weight:600;

    margin-bottom:8px;

    color:#a87886;

}

.hotspot:hover .hotspot-dot{

    transform:scale(1.2);

}
.hotspot-link{

    display:block;

    margin-top:12px;

    padding:8px 0px;

    border-radius:10px;

    background:#D9B4B4;

    color:white;

    text-decoration:none;

    text-align:center;

    font-size:13px;

    transition:.3s;

}

.hotspot-link:hover{

    background:#c8a1a1;

}

.products-grid .product-card{

    text-decoration: none;

    color: #2f2927;

}

.products-grid .product-name{

    font-size: 15px;

    font-weight: 400;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    color: #2f2927;

    margin-top: 18px;

    margin-bottom: 6px;

    line-height: 1.4;

}

.products-grid .price{

    font-size: 14px;

    font-weight: 600;

    color:#a87886;

}

.section-divider{

    width:100%;
    max-width:1450px;

    height:1px;

    margin:10px auto 45px;

    background:linear-gradient(
        to right,
        transparent,
        #e6cfcf,
        #d9b8b8,
        #e6cfcf,
        transparent
    );

}

/* ===========================
      PROFILE PAGE
=========================== */

.profile-page{

    background:#f8f7f5;

    color:#3f3736;

    min-height:100vh;

    padding-top:140px;

}
.profile-container{

    max-width:1680px;

    margin:0 auto;

    padding:0 16px 70px;

    display:flex;

    align-items:flex-start;

    gap:30px;

}

@keyframes fadeProfile{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:none;

}

}

/* ===== ЛЕВАЯ ПАНЕЛЬ ===== */

.profile-sidebar{

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

    backdrop-filter:blur(20px);

    border:1px solid #ece5e2;

    border-radius:24px;

    padding:35px;

    height:fit-content;

    position:sticky;

    top:40px;

    box-shadow:

    0 20px 60px rgba(0,0,0,.05);

    min-height:600px;

    width:270px;

    flex-shrink:0;

}

.profile-logo{

    font-size:30px;

    font-weight:300;

    letter-spacing:8px;

    color:#403736;

    margin-bottom:45px;
    
    margin-top:10px;

    text-decoration:none;
    color:inherit;
    display:block;
    cursor:pointer;

}

.profile-menu{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin-top:30px;

}

.profile-menu a,
.profile-menu .profile-logout-button{

    display:flex;

    align-items:center;

    padding:16px 18px;

    border-radius:14px;

    color:#4c4342;

    text-decoration:none;

    font-weight:500;

    font:inherit;

}

.profile-menu .profile-logout-form{

    margin:0;

}

.profile-menu .profile-logout-button{

    width:100%;

    border:0;

    background:transparent;

    cursor:pointer;

    text-align:left;

}

.profile-menu a:hover,
.profile-menu .profile-logout-button:hover{

    background:#f2ece8;

}


/* ===== ПРАВАЯ ЧАСТЬ ===== */

.profile-content{

    flex:1;

    background:white;

    border-radius:30px;

    padding:55px;

    box-shadow:

    0 20px 60px rgba(0,0,0,.05);

}

.profile-content h1{

    font-size:46px;

    font-weight:300;

    margin-bottom:12px;

    color:#403736;

    letter-spacing:-1px;

    line-height:1.1;

}

.profile-content p{

    font-size:18px;

    color:#8a7d7b;

    margin-bottom:45px;

}

.profile-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-card{

    background:#f8f7f5;

    border-radius:20px;

    padding:30px;

    transition:.35s;

    border:1px solid transparent;

}

.stat-card:hover{

    transform:translateY(-6px);

    border-color:#ead7d3;

    box-shadow:

    0 20px 40px rgba(0,0,0,.06);

}

.stat-card h3{

    font-size:17px;

    color:#6f6462;

    margin-bottom:12px;

    font-weight:500;

}

.stat-card div{

    font-size:34px;

    font-weight:300;

    color:#403736;

}

.order-card{

    background:white;

    border-radius:20px;

    padding:30px;

    margin-bottom:20px;

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

}

.order-card h3{

    margin-bottom:15px;

    font-size:24px;

}

.order-card p{

    margin:8px 0;

    color:#6e6462;

}

.order-card{
    background:white;
    border-radius:24px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.order-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.order-products{
    margin-top:25px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.order-item{
    display:flex;
    align-items:center;
    gap:18px;
}

.order-item-image{
    width:90px;
    height:90px;
    object-fit:contain;
    background:#f7f7f7;
    border-radius:16px;
    padding:8px;
}

.order-item-info h4{
    margin-bottom:6px;
    font-size:17px;
}

.order-item-info p{
    color:#8a7d7b;
}

.order-status{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:30px;

    background:#edf8ef;

    color:#2d8a4b;

    font-size:14px;

    font-weight:600;

}

.order-info-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin:35px 0 45px;

}

.order-info-card{

    background:#faf8f6;

    border-radius:20px;

    padding:24px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.order-info-title{

    font-size:14px;

    color:#8b8179;

    margin-bottom:10px;

}

.order-info-value{

    font-size:28px;

    font-weight:600;

    color:#2f2a2a;

}

.order-details-btn{

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

    margin-top:30px;

    padding:14px 28px;

    border:1px solid #d9d2cb;
    border-radius:14px;

    background:#ffffff;

    color:#2f2927;

    text-decoration:none;

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

    transition:.3s;

    cursor:pointer;

}

.order-details-btn:hover{

    background:#2f2927;

    color:#ffffff;

    transform:translateY(-2px);

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

}

/* =========================
   PROJECTS SHOWCASE
========================= */

.projects-showcase{

    display:grid;

    grid-template-columns:300px 1fr;

    gap:60px;

    width:100%;

    max-width:1600px;

    margin:80px auto;

    padding:0 70px;

}

.projects-info h2{

    font-size:56px;

    font-weight:300;

    line-height:1.1;

    color:#4b4040;

    margin-bottom:25px;

}

.projects-info p{

    color:#666;

    line-height:1.8;

    margin-bottom:35px;

}

.projects-btn{

    border:none;

    background:#111;

    color:#fff;

    padding:15px 34px;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

}

.projects-btn:hover{

    background:#333;

}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.project-card{

    transition:
    transform .35s ease,
    box-shadow .35s ease;

}

.project-card:hover{

    transform:translateY(-8px);

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

}

.project-image{

    height:380px;

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.45s;

}

.project-card:hover .project-image img{

    transform:scale(1.05);

}

.project-card h4{

    font-size:34px;

    font-weight:600;

    line-height:1.15;

    padding:26px 24px 30px;

}

.project-card a{

    display:inline-block;

    padding:0 24px 24px;

    text-decoration:none;

    color:#b88c93;

    transition:.3s;

}

.project-card a:hover{

    color:#8e666d;

}

.projects-showcase{

    width:95%;

    max-width:1800px;

    margin:90px auto;

    padding:70px;

    background:#faf6f6;

    border-radius:40px;

}

.product-gallery{

    position:relative;

}

.main-image-wrapper{

    position:relative;
    overflow:hidden;

    width:80%;
    aspect-ratio:1/1;

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

}

.stat-card{

    display:block;

    text-decoration:none;

    color:inherit;

    cursor:pointer;

    transition:
        transform .35s cubic-bezier(.23,1,.32,1),
        box-shadow .35s ease,
        background .35s ease;

}

.stat-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);

}

.stat-card:active{

    transform:translateY(-2px);

}

/* ==========================
   ENIGMA BUTTON
========================== */

.enigma-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 42px;

    min-width:270px;

    height:62px;

    border:none;

    border-radius:999px;

    background:#ffffff;

    color:#2d2d2d;

    text-decoration:none;

    font-size:16px;

    font-weight:500;

    cursor:pointer;

    box-shadow:0 18px 45px rgba(0,0,0,.16);

    transition:
        transform .35s,
        box-shadow .35s,
        background .35s;

}

.enigma-btn:hover{

    transform:translateY(-4px);

    background:#f7f7f7;

    box-shadow:0 28px 60px rgba(0,0,0,.22);

}

.enigma-btn:active{

    transform:translateY(-1px);

}
