*{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
}

body{
    background:#111;
    display:flex;
    justify-content:center;
}

.app{
    width:100%;
    max-width:430px;
    min-height:100vh;
    background:#f5f5f5;
    position:relative;
}

.hero{
    height:320px;
    position:relative;
    background:url("images/thumbnail.webp")
    center/cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.top-buttons{
    position:absolute;
    top:15px;
    right:15px;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.menu-btn,
.lang-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    font-size:18px;
}

.hero-content{
    position:absolute;
    z-index:2;
    left:0;
    right:0;
    top:50%;
    transform:translateY(-50%);
    text-align:center;
    color:white;
}

.hero-content h1{
    font-size:64px;
    line-height:.9;
    font-weight:700;
}

.hero-content p{
    margin-top:15px;
    font-size:12px;
    letter-spacing:2px;
}

.slider-dots{
    margin-top:20px;
}

.slider-dots span{
    width:10px;
    height:10px;
    display:inline-block;
    border-radius:50%;
    background:#aaa;
    margin:0 5px;
}

.slider-dots .active{
    background:white;
}

#categoriesSection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 80px;
}

.categories{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    padding:15px;
    position:relative;
    z-index:10;
}

.card{
    height:160px;
    overflow:hidden;
    border-radius:16px;
    position:relative;
    box-shadow:0 5px 15px rgba(0,0,0,.18);

}

.card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
    to top,
    rgba(0,0,0,.8),
    transparent);
}

.card span{
    position:absolute;
    left:10px;
    bottom:10px;
    color:white;
    font-size:13px;
    font-weight:600;
    z-index:2;
}

.bottom-nav{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:430px;
    height:75px;
    background:#111;
    display:flex;
    justify-content:space-around;
    align-items:center;
    border-top-left-radius:20px;
    border-top-right-radius:20px;
    z-index:20;
}

.bottom-nav a{
    color:#fff;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    font-size:12px;
}

.bottom-nav a span{
    font-size:20px;
}

.bottom-nav .active{
    background:#ff3b3b;
    width:60px;
    height:60px;
    border-radius:50%;
    justify-content:center;
    margin-top:-35px;
    color:#fff;
}

.bottom-nav a:hover{
    opacity:0.8;
    transition:opacity 0.3s ease;
}

.bottom-nav .active:hover{
    opacity:0.9;
}

/* ÜRÜNLER */
.products-section{
    min-height:100vh;
    background:#f5f5f5;
}

.products-header{
    position: sticky;
    top: 0;
    /* width: 100%; */
    z-index: 10000;
    padding:20px;
    display:flex;
    align-items:center;
    gap:15px;
    background:#fff;
    border-bottom:1px solid #eee;
}

.back-btn{
    background:none;
    border:none;
    font-size:18px;
    cursor:pointer;
    font-weight:600;
    color:#333;
}

.category-title{
    flex:1;
    margin:0;
    font-size:20px;
    color:#333;
}

.products-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:15px;
}

.product-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    cursor:pointer;
    transition:transform 0.2s;
}

.product-card:active{
    transform:scale(0.98);
}

.product-card-img{
    width:100%;
    height:120px;
    object-fit:cover;
    display:block;
}

.product-card-info{
    padding:10px;
}

.product-name{
    font-size:13px;
    font-weight:600;
    color:#333;
    margin-bottom:8px;
}

.product-price{
    font-size:16px;
    font-weight:700;
    color:#ff3b3b;
}

.product-price::before{
    content:"";
    margin-right:2px;
}

/* SEPET */
.cart-section{
    min-height:100vh;
    background:#f5f5f5;
}

.cart-header{
    padding:20px;
    display:flex;
    align-items:center;
    gap:15px;
    background:#fff;
    border-bottom:1px solid #eee;
}

.cart-header h2{
    flex:1;
    margin:0;
    font-size:20px;
    color:#333;
}

.back-cart-btn{
    background:none;
    border:none;
    font-size:18px;
    cursor:pointer;
    font-weight:600;
    color:#333;
}

.cart-items{
    padding:15px;
}

.cart-item{
    background:#fff;
    padding:15px;
    border-radius:10px;
    margin-bottom:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
}

.cart-item-name{
    font-size:14px;
    font-weight:600;
    color:#333;
}

.cart-item-price{
    font-size:16px;
    font-weight:700;
    color:#ff3b3b;
}

.cart-total{
    padding:20px 15px;
    background:#fff;
    position:fixed;
    bottom:85px;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:430px;
    text-align:center;
    border-top:2px solid #eee;
}

.cart-total h3{
    margin:0 0 15px 0;
    font-size:18px;
    color:#333;
}

.cart-total #cartTotal{
    color:#ff3b3b;
    font-size:24px;
}

.confirm-btn{
    width:100%;
    padding:15px;
    background:#ff3b3b;
    color:#fff;
    border:none;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:background 0.3s;
}

.confirm-btn:active{
    background:#dd2222;
}

/* YENİ STILLER */
.product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-item h3 {
    margin: 10px 0 5px 0;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.product-item p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #FF6B6B;
    margin: 10px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-price span {
    font-size: 18px;
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    background: #ff5252;
}

.add-to-cart-btn:active {
    background: #e63946;
}

.cart-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.item-info {
    flex: 1;
}

.item-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.item-total {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #FF6B6B;
}

.item-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.qty-control button {
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 700;
    color: #FF6B6B;
    transition: background 0.2s;
}

.qty-control button:hover {
    background: #eee;
}

.qty-control span {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.cart-item input {
    width: 50px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    margin: 0 10px;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.btn-remove:hover {
    background: #c82333;
}

/* ARAMA BÖLÜMÜ */
.search-section {
    min-height: 100vh;
    background: #f5f5f5;
}

.search-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    padding: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: Poppins, sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #FF6B6B;
}

.search-results {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.search-result-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.search-result-item:active {
    transform: scale(0.98);
}

.search-result-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.search-result-info {
    padding: 10px;
}

.search-result-info h4 {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #333;
}

.search-result-info p {
    margin: 0 0 8px 0;
    font-size: 11px;
    color: #666;
}

.search-result-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-price span {
    font-weight: 700;
    color: #FF6B6B;
}

.search-result-price button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #FF6B6B;
    color: white;
    cursor: pointer;
    font-weight: 700;
}

.search-result-price button:hover {
    background: #ff5252;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.search-empty p {
    font-size: 14px;
}

@keyframes bounce {

    0% { transform: translateY(0); width: 60px; height: 60px; background-color: #ff3b3b; }
    50% { transform: translateY(-20px); width: 80px; height: 80px; background-color: #20f50d; }
    100% { transform: translateY(0); width: 60px; height: 60px; background-color: #ff3b3b; }
}

@keyframes bounces {

    0% { transform: translateY(0);  background-color: #ff3b3b; }
    50% { transform: translateY(-10px); background-color: #20f50d; }
    100% { transform: translateY(0); background-color: #ff3b3b; }
}

/* SIPARIŞ BUTON VE MODAL */
.place-order-btn {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.place-order-btn:hover {
    background: #ff5252;
}

.place-order-btn:active {
    background: #e63946;
}

.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.order-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.order-modal-content h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    text-align: center;
}

.order-modal-content input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: Poppins, sans-serif;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.order-modal-content input:focus {
    outline: none;
    border-color: #FF6B6B;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.btn-confirm,
.btn-cancel {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-confirm {
    background: #FF6B6B;
    color: white;
}

.btn-confirm:hover {
    background: #ff5252;
}

.btn-confirm:active {
    background: #e63946;
}

.btn-cancel {
    background: #ddd;
    color: #333;
}

.btn-cancel:hover {
    background: #ccc;
}