:root{--gold:#b08d57;--gold2:#c9a97a;--dark:#2b261f;--cream:#fdfaf7;--soft:#f7f2ec;--text:#292622;--muted:#887f74;--shadow:0 12px 35px rgba(43,38,31,.1);--radius:18px}

*{box-sizing:border-box;margin:0;padding:0}

body{
    font-family:'DM Sans',sans-serif;
    background:var(--cream);
    color:var(--text);
    overflow-x:hidden;
}

.topbar{
    height:34px;
    background:var(--dark);
    color:#f6eadc;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    letter-spacing:.3px;
}

.site-header{
    height:66px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
    box-shadow:0 1px 0 rgba(0,0,0,.06);
}

.logo{
    font-family:'Cormorant Garamond',serif;
    font-size:24px;
    font-weight:700;
    color:#8c6d3f;
    text-decoration:none;
    letter-spacing:1px;
}

.logo span{
    color:var(--gold2);
}

.header-icons{
    display:flex;
    gap:16px;
    align-items:center;
}

.icon-box{
    position:relative;
    width:38px;
    height:38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--soft);
    color:#5d554c;
    cursor:pointer;
    transition:.2s;
}

.icon-box:hover{
    background:#efe5d8;
    color:var(--gold);
}

.badge{
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:17px;
    height:17px;
    border-radius:11px;
    background:var(--gold);
    color:white;
    font-size:10px;
    display:grid;
    place-items:center;
    font-weight:700;
}

.user-dropdown{
    position:absolute;
    right:0;
    top:52px;
    background:white;
    width:250px;
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:10px;
    display:none;
    z-index:2000;
}

.user-dropdown.active{
    display:block;
}

.user-dropdown a{
    display:flex;
    gap:10px;
    align-items:center;
    padding:11px 12px;
    text-decoration:none;
    color:#4b443e;
    border-radius:10px;
    font-size:13px;
}

.user-dropdown a:hover{
    background:var(--soft);
    color:var(--gold);
}

.search-wrap{
    background:white;
    padding:12px 16px;
    border-bottom:1px solid #eee;
}

.search{
    max-width:900px;
    margin:auto;
    background:var(--soft);
    border:1.5px solid transparent;
    border-radius:999px;
    padding:11px 16px;
    display:flex;
    align-items:center;
    gap:10px;
}

.search:focus-within{
    border-color:var(--gold);
    background:white;
}

.search input{
    border:0;
    background:transparent;
    outline:0;
    width:100%;
    font-size:14px;
}

.hero-slider{
    height:330px;
    position:relative;
    overflow:hidden;
    background:#ddd;
}

.hero-slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity .7s ease;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-slide.active{
    opacity:1;
}

.hero-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(20,17,13,.65),rgba(20,17,13,.28),rgba(20,17,13,.5));
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    padding:0 24px;
    max-width:780px;
}

.hero-kicker{
    display:inline-block;
    border:1px solid rgba(255,255,255,.45);
    padding:6px 14px;
    border-radius:999px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-bottom:12px;
}

.hero-content h1{
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    line-height:1.05;
    margin-bottom:10px;
    text-shadow:0 4px 18px rgba(0,0,0,.28);
}

.hero-content p{
    font-size:15px;
    color:#fff1e4;
}

.hero-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.78);
    cursor:pointer;
    color:#4a4035;
}

.hero-nav:hover{
    background:white;
}

.hero-prev{
    left:18px;
}

.hero-next{
    right:18px;
}

.hero-dots{
    position:absolute;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    z-index:3;
    display:flex;
    gap:8px;
}

.hero-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:rgba(255,255,255,.55);
    cursor:pointer;
}

.hero-dot.active{
    background:var(--gold);
    width:24px;
    border-radius:999px;
}

.cat-wrap,
.filter-bar{
    background:white;
    border-bottom:1px solid #eee;
    padding:11px 14px;
    overflow-x:auto;
    display:flex;
    gap:8px;
    scrollbar-width:none;
}

.cat-wrap a,
.filter-bar button{
    white-space:nowrap;
    border:1.5px solid #eee;
    background:var(--soft);
    color:#645b51;
    border-radius:999px;
    padding:8px 16px;
    font-size:13px;
    cursor:pointer;
    text-decoration:none;
}

.cat-wrap a.active,
.filter-bar button.active{
    background:var(--gold);
    border-color:var(--gold);
    color:white;
}

.section-title{
    text-align:center;
    padding:28px 16px 8px;
}

.section-title h2{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    color:#2b261f;
}

.section-title p{
    font-size:13px;
    color:var(--muted);
    margin-top:4px;
}

.gallery{
    max-width:1180px;
    margin:auto;
    padding:16px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.card{
    background:white;
    border-radius:var(--radius);
    box-shadow:0 5px 20px rgba(0,0,0,.06);
    overflow:hidden;
    transition:.25s;
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}

.card-img-wrap{
    position:relative;
    background:#fff;
    cursor:pointer;
}

.card-img-wrap img{
    width:100%;
    height:174px;
    object-fit:contain;
    padding:10px;
    display:block;
    background:#fff;
}

.fav-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:34px;
    height:34px;
    border-radius:50%;
    border:0;
    background:rgba(255,255,255,.94);
    box-shadow:0 3px 12px rgba(0,0,0,.12);
    color:#bbb;
    cursor:pointer;
}

.fav-btn.active,
.fav-btn:hover{
    color:#e74c3c;
}

.card-info{
    padding:12px;
}

.card h3{
    font-size:14px;
    line-height:1.35;
    height:39px;
    overflow:hidden;
    margin-bottom:6px;
    cursor:pointer;
}

.price{
    color:var(--gold);
    font-size:17px;
    font-weight:800;
    margin-bottom:5px;
}

.stars{
    color:var(--gold);
    font-size:12px;
    margin-bottom:8px;
}

.stars span{
    color:#aaa;
}

.detail-btn,
.buy-btn{
    width:100%;
    border:0;
    border-radius:11px;
    padding:10px;
    font-weight:700;
    cursor:pointer;
    margin-top:6px;
}

.detail-btn{
    background:#f4ede4;
    color:#7b633d;
}

.buy-btn{
    background:var(--gold);
    color:white;
}

.buy-btn:hover{
    background:var(--gold2);
}

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:9000;
    opacity:0;
    pointer-events:none;
    transition:.25s;
}

.overlay.active{
    opacity:1;
    pointer-events:auto;
}

.side-panel{
    position:fixed;
    top:0;
    right:-100%;
    height:100%;
    width:92%;
    max-width:430px;
    background:white;
    z-index:9500;
    transition:.3s;
    display:flex;
    flex-direction:column;
    box-shadow:-8px 0 35px rgba(0,0,0,.18);
}

.side-panel.active{
    right:0;
}

.panel-header{
    padding:18px;
    border-bottom:1px solid #eee;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.panel-header strong{
    font-family:'Cormorant Garamond',serif;
    font-size:21px;
}

.panel-close{
    font-size:28px;
    color:#aaa;
    cursor:pointer;
}

.panel-body{
    flex:1;
    overflow-y:auto;
    padding:14px;
}

.cart-item,
.fav-item{
    display:flex;
    gap:12px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #f2f2f2;
}

.cart-item img,
.fav-item img{
    width:64px;
    height:64px;
    object-fit:contain;
    background:#fafafa;
    border-radius:12px;
    flex-shrink:0;
}

.fav-item img{
    width:58px;
    height:58px;
}

.qty{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:6px;
}

.qty button{
    width:28px;
    height:28px;
    border:0;
    border-radius:8px;
    background:var(--soft);
    cursor:pointer;
}

.remove{
    margin-left:auto;
    border:0;
    background:transparent;
    color:#d44;
    cursor:pointer;
}

.order-section{
    padding:15px;
    border-top:1px solid #eee;
    background:#fbfaf8;
}

.total-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.checkout-btn,
.place-order-btn{
    width:100%;
    padding:13px;
    border:0;
    border-radius:12px;
    background:var(--gold);
    color:white;
    font-weight:800;
    cursor:pointer;
}

.checkout-box{
    display:none;
}

.field{
    margin-bottom:10px;
}

.field label{
    display:block;
    font-size:11px;
    font-weight:800;
    color:#9a9288;
    text-transform:uppercase;
    margin-bottom:4px;
}

.field input,
.field textarea,
.profile-form input,
.profile-form textarea,
.profile-card input{
    width:100%;
    border:1.5px solid #e7e0d8;
    border-radius:11px;
    padding:10px;
    font-family:inherit;
}

.payopts{
    display:flex;
    gap:8px;
    margin:10px 0;
}

.payopts div{
    flex:1;
    border:1.5px solid #e5ded5;
    border-radius:12px;
    padding:10px;
    text-align:center;
    font-size:12px;
    cursor:pointer;
}

.payopts .selected{
    border-color:var(--gold);
    background:#fbf2e6;
    color:var(--gold);
    font-weight:800;
}

.detail-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.58);
    z-index:12000;
    opacity:0;
    pointer-events:none;
    transition:.25s;
    display:flex;
    align-items:flex-end;
}

.detail-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.detail-modal{
    width:100%;
    max-height:94vh;
    overflow-y:auto;
    background:var(--cream);
    border-radius:26px 26px 0 0;
    transform:translateY(100%);
    transition:.32s;
}

.detail-overlay.active .detail-modal{
    transform:translateY(0);
}

.detail-head{
    position:sticky;
    top:0;
    z-index:5;
    background:rgba(253,250,247,.97);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 18px;
    border-bottom:1px solid #eee;
}

.detail-close{
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:#eee;
    cursor:pointer;
}

.detail-grid{
    background:white;
    margin:10px;
    border-radius:20px;
    overflow:hidden;
}

.detail-img{
    height:330px;
    display:grid;
    place-items:center;
    background:#fff;
}

.detail-img img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.detail-info{
    padding:18px;
}

.tag{
    display:inline-block;
    background:var(--soft);
    color:#7d633d;
    border-radius:999px;
    padding:5px 12px;
    font-size:11px;
    font-weight:800;
    margin-bottom:8px;
}

.detail-name{
    font-family:'Cormorant Garamond',serif;
    font-size:28px;
    line-height:1.1;
    margin-bottom:8px;
}

.detail-price{
    font-size:28px;
    color:var(--gold);
    font-weight:900;
}

.detail-desc,
.detail-reviews,
.detail-similar{
    background:white;
    margin:10px;
    border-radius:20px;
    padding:18px;
}

.detail-desc h3,
.detail-reviews h3,
.detail-similar h3{
    font-family:'Cormorant Garamond',serif;
    font-size:22px;
    margin-bottom:10px;
}

.desc-text{
    line-height:1.75;
    color:#5f574f;
    white-space:pre-line;
}

.detail-actions{
    position:sticky;
    bottom:0;
    background:white;
    display:flex;
    gap:10px;
    padding:12px;
    border-top:1px solid #eee;
}

.detail-actions button{
    border:0;
    border-radius:13px;
    padding:14px;
    font-weight:800;
    cursor:pointer;
}

.detail-actions .add{
    flex:1;
    background:var(--gold);
    color:white;
}

.detail-actions .mini{
    width:52px;
    background:var(--soft);
    color:#777;
}

.similar-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.similar-card{
    display:flex;
    gap:10px;
    background:var(--soft);
    border-radius:14px;
    padding:8px;
    cursor:pointer;
}

.similar-card img{
    width:70px;
    height:70px;
    object-fit:contain;
    background:white;
    border-radius:10px;
}

.review-row{
    border-top:1px solid #eee;
    padding:10px 0;
}

.footer{
    background:#2b261f;
    color:#e9ddd0;
    margin-top:28px;
}

.footer-inner{
    max-width:1160px;
    margin:auto;
    padding:42px 18px;
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:26px;
}

.footer h4{
    font-family:'Cormorant Garamond',serif;
    color:#fff;
    font-size:22px;
    margin-bottom:12px;
}

.footer p,
.footer a{
    font-size:13px;
    line-height:1.8;
    color:#d5c6b6;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}

.trust{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:12px;
}

.trust span{
    background:rgba(255,255,255,.08);
    padding:7px 10px;
    border-radius:999px;
    font-size:11px;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding:14px;
    color:#b7a797;
    font-size:12px;
}

.auth-overlay,
.review-overlay,
.profile-overlay,
.return-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:13000;
    display:none;
    align-items:flex-end;
}

.auth-overlay.active,
.review-overlay.active,
.profile-overlay.active,
.return-overlay.active{
    display:flex;
}

.modal{
    background:white;
    width:100%;
    max-height:90vh;
    overflow-y:auto;
    border-radius:22px 22px 0 0;
    padding:20px;
}

.modal h3{
    font-family:'Cormorant Garamond',serif;
    font-size:24px;
    margin-bottom:12px;
}

.tabs{
    display:flex;
    background:var(--soft);
    border-radius:12px;
    padding:4px;
    margin-bottom:12px;
}

.tabs button{
    flex:1;
    border:0;
    background:transparent;
    padding:10px;
    border-radius:9px;
    font-weight:800;
}

.tabs button.active{
    background:white;
    color:var(--gold);
}

.auth-form input,
.auth-form textarea{
    width:100%;
    border:1.5px solid #e5ded5;
    border-radius:12px;
    padding:12px;
    margin-bottom:9px;
}

.auth-form button,
.profile-card button,
.profile-form button,
.modal button.primary{
    width:100%;
    border:0;
    border-radius:12px;
    background:var(--gold);
    color:white;
    padding:12px;
    font-weight:800;
}

.profile-menu{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
    margin-bottom:12px;
}

.profile-menu button{
    border:1px solid #eee;
    background:var(--soft);
    border-radius:12px;
    padding:10px;
    font-size:12px;
}

.profile-menu button.active{
    background:var(--gold);
    color:white;
}

.profile-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    padding:12px;
    margin-bottom:10px;
}

.profile-card span{
    display:block;
    color:#999;
    font-size:12px;
    margin:4px 0;
}

.empty-state,
.empty-products{
    text-align:center;
    color:#aaa;
    padding:35px 12px;
    grid-column:1/-1;
}

/* Toast bildirimi */
.toast{
    position:fixed;
    left:50%;
    bottom:86px;
    z-index:20000;
    max-width:calc(100vw - 32px);
    padding:12px 22px;
    background:#292622;
    color:#fff;
    border-radius:999px;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
    font-size:13px;
    font-weight:700;
    text-align:center;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateX(-50%) translateY(80px) scale(.96);
    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.toast.show{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0) scale(1);
}

.toast:empty{
    display:none;
}

.wa-btn{
    position:fixed;
    right:18px;
    bottom:22px;
    z-index:8000;
    width:54px;
    height:54px;
    border-radius:50%;
    background:#25D366;
    color:white;
    display:grid;
    place-items:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(37,211,102,.35);
}

/* Çoklu ürün fotoğraf sliderı */
.detail-gallery{
    position:relative;
    height:330px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.detail-gallery img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    user-select:none;
    -webkit-user-drag:none;
}

.detail-photo-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.88);
    box-shadow:0 4px 18px rgba(0,0,0,.14);
    color:#5a5148;
    cursor:pointer;
    z-index:2;
}

.detail-photo-arrow:hover{
    background:#fff;
    color:var(--gold);
}

.detail-photo-prev{
    left:12px;
}

.detail-photo-next{
    right:12px;
}

.detail-photo-dots{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:7px;
    z-index:2;
    background:rgba(255,255,255,.72);
    padding:6px 9px;
    border-radius:999px;
    backdrop-filter:blur(8px);
}

.detail-photo-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#cfc5ba;
    cursor:pointer;
}

.detail-photo-dot.active{
    background:var(--gold);
    width:18px;
    border-radius:999px;
}

.detail-photo-count{
    position:absolute;
    top:12px;
    right:12px;
    background:rgba(43,38,31,.72);
    color:white;
    font-size:11px;
    border-radius:999px;
    padding:5px 9px;
    z-index:2;
}

.search-loading{
    opacity:.45;
    transition:.15s;
}

.fav-remove-btn{
    border:0;
    background:#fff1f1;
    color:#d84b4b;
    border-radius:11px;
    padding:10px 12px;
    font-weight:800;
    cursor:pointer;
    white-space:nowrap;
}

.fav-remove-btn:hover{
    background:#e74c3c;
    color:#fff;
}

/* Ürün görseli büyütme */
.image-lightbox{
    position:fixed;
    inset:0;
    z-index:30000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(0,0,0,.88);
}

.image-lightbox.active{
    display:flex;
}

.image-lightbox img{
    max-width:94vw;
    max-height:88vh;
    object-fit:contain;
    border-radius:14px;
    background:#fff;
}

.image-lightbox-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:50%;
    background:rgba(255,255,255,.16);
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

.image-lightbox-hint{
    position:absolute;
    bottom:22px;
    left:50%;
    transform:translateX(-50%);
    color:rgba(255,255,255,.85);
    font-size:12px;
}

.image-lightbox-arrow{
    position:absolute;
    top:50%;
    z-index:2;
    width:46px;
    height:46px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:50%;
    background:rgba(255,255,255,.16);
    color:#fff;
    cursor:pointer;
    font-size:18px;
    transform:translateY(-50%);
}

.image-lightbox-arrow:hover{
    background:rgba(255,255,255,.28);
}

.image-lightbox-prev{
    left:18px;
}

.image-lightbox-next{
    right:18px;
}

.image-lightbox-count{
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    padding:6px 12px;
    border-radius:999px;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:12px;
    font-weight:700;
}

@media(min-width:720px){
    .gallery{
        grid-template-columns:repeat(3,1fr);
    }

    .detail-modal{
        max-width:900px;
        margin:0 auto;
    }

    .detail-grid{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .detail-img{
        height:440px;
    }

    .detail-gallery{
        height:440px;
    }

    .similar-grid{
        grid-template-columns:repeat(4,1fr);
    }

    .card-img-wrap img{
        height:220px;
    }
}

@media(min-width:1024px){
    .gallery{
        grid-template-columns:repeat(4,1fr);
    }

    .hero-slider{
        height:420px;
    }

    .hero-content h1{
        font-size:58px;
    }
}

@media(max-width:760px){
    .footer-inner{
        grid-template-columns:1fr;
    }

    .hero-slider{
        height:260px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-nav{
        display:none;
    }

    .topbar{
        font-size:11px;
    }

    .profile-menu{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .image-lightbox-arrow{
        width:40px;
        height:40px;
    }

    .image-lightbox-prev{
        left:10px;
    }

    .image-lightbox-next{
        right:10px;
    }
}

.info-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 31000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 18px;
    background: rgba(0, 0, 0, .58);
}

.info-modal-overlay.active {
    display: flex;
}

.info-modal {
    position: relative;

    width: 100%;
    max-width: 720px;
    max-height: 86vh;

    overflow-y: auto;

    background: #fff;
    color: #292622;

    border-radius: 22px;
    padding: 26px;

    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.info-modal h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    margin-bottom: 14px;
    color: #2b261f;
}

.info-modal p {
    font-size: 14px;
    line-height: 1.8;
    color: #5f574f;
    margin-bottom: 12px;
}

.info-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #f4ede4;
    color: #7b633d;

    cursor: pointer;
}

@media (max-width: 700px) {
    .info-modal {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .info-modal h2 {
        font-size: 26px;
        padding-right: 40px;
    }
}