@charset "utf-8";

.category-nav-wrapper {
    z-index: 10;
}

.category-nav-inner {
    overflow: hidden;
    position: relative;
    padding: 0 40px; /* sol ve saÄŸda arrow geniÅŸliÄŸi kadar boÅŸluk */
}

.category-nav {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    white-space: nowrap;
}


    
.scroll-btn.left {
    left: 0; /* kategori container'Ä±n soluna */
}

.scroll-btn.right {
    right: 0; /* kategori container'Ä±n saÄŸÄ±na */
}

.category-nav::-webkit-scrollbar{
    height: 6px;
}
.category-nav::-webkit-scrollbar-thumb{
    background: #ddd;
    border-radius: 4px;
}

.category-nav a{
    display: inline-block;
    padding: 8px 14px;
    font-size: 15px;
    text-decoration: none;
    color: #555;
    background: #f8f8f8;
    border-radius: 20px;
    transition: .25s;
    border: none;
    white-space: nowrap;
}



.category-nav a.active{
    background: #ca6702;
    color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}


    
 
    


.delivery-box {
    line-height: 1.1;
    text-align: left;
cursor: pointer;
    }


/* Modal dialog ekranÄ±n altÄ±na sabitlenmiÅŸ ve yatayda ortalanmÄ±ÅŸ */
.modal-bottom {
    position: fixed;
    bottom: 75px;
    left: 0;
    right: 0;
    margin: 0 auto;           /* yatayda ortalar */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    width: 100%;
}

/* Modal content */
.modal-bottom .modal-content {
    width: 100%;
    max-width: 500px;         /* desktop container mantÄ±ÄŸÄ± */
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
      border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    
    max-height: 80vh;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(100%); /* baÅŸta ekranÄ±n altÄ±nda */
    transition: transform 0.05s ease-out;
}

/* Modal aÃ§Ä±ldÄ±ÄŸÄ±nda yukarÄ± kayar */
.modal.show .modal-content {
    transform: translateY(0);
}

/* Arka plan */
.modal-backdrop.show {
    background-color: rgba(0,0,0,1.0);
    backdrop-filter: blur(5px);
}

    
    #userBadge {
        cursor: pointer;
    }
    
    
    
    



    
    
    
    .carousel-item img {
    width: 100%;
    height: 200px; /* Ä°stediÄŸiniz yÃ¼kseklik */
    object-fit: cover;
    border-radius: 12px;
}
@media (min-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}
    
    
   .category-name {
    color: #333;
    font-size: 1.5vh;
    font-weight: bold;

    white-space: nowrap;       /* alt satÄ±ra geÃ§mesin */
    overflow: hidden;          /* taÅŸan kÄ±smÄ± gizle */
    text-overflow: ellipsis;   /* ... koy */
}
    
    /* Bar stili */
.full-delivery-bar {
  background: #f1f3f5; /* gri ton */
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* Mobilde metnin kÄ±rÄ±lmadan gÃ¶rÃ¼nmesi iÃ§in */
#deliveryPreview {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* KÃ¼Ã§Ã¼k ekranlarda buton ve chevron sÄ±kÄ±ÅŸmasÄ±n */
@media (max-width: 575.98px) {
  .full-delivery-bar .container {
    gap: 8px;
  }
  .full-delivery-bar .btn {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}
    
    
.search-wrapper {
  position: relative;
}

.search-wrapper i.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.2rem;
  pointer-events: none;
}

/* SaÄŸdaki ikon grubu */
.search-wrapper .right-icons {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.right-icons i {
  font-size: 1.25rem;
  color: #666;
  cursor: pointer;
}

/* Input padding ayarlarÄ± */
.search-wrapper input {
  padding-left: 45px !important;
  padding-right: 85px !important; /* SaÄŸdaki ikonlara yer aÃ§tÄ±k */
    font-size: 16px;
}
    
    .delivery-box {
    background: #fff;
    border-radius: 12px;
}
    
    
    /* ModalÄ± ekran altÄ±na sabitle */
.modal-bottom-sheet {
  margin: 0;
  position: fixed;
  bottom: 75px;
  left: 0;
  right: 0;
  max-width: 600px; /* container limitinde */
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px 18px 0 0;
  transform: translateY(100%);
  transition: transform 0.28s ease-in-out;
}

/* AÃ§Ä±ldÄ±ÄŸÄ±nda yukarÄ± kay */
.modal.show .modal-bottom-sheet {
  transform: translateY(0%);
}

/* Modal iÃ§eriÄŸi yuvarlatÄ±lmÄ±ÅŸ */
.modal-content {
  border-radius: 18px 18px 0 0;
}

/* Adres listesi */
.address-item {
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
}

.address-item:hover {
  background: #f5f5f5;
}
/* Bottom sheet modal tam ortalansÄ±n */
.modal-bottom {
  position: fixed !important;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0;
  width: 100%;
  max-width: 480px;
}

/* Sadece Ã¼st kÃ¶ÅŸeler yuvarlak */
.bottom-sheet {
  border-radius: 20px 20px 0 0 !important;
}

/* Smooth: alttan yukarÄ± animasyon */
.modal.fade .modal-dialog {
  transform: translate(-50%, 100%) !important;
  transition: transform .25s ease-out;
}

.modal.show .modal-dialog {
  transform: translate(-50%, 0) !important;
}
    
    .order-status-box {
        cursor: pointer;
    }
    

.swipe-item {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.swipe-actions {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 5px;
    gap: 6px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.swipe-item.active-swipe .swipe-actions,
.swipe-item.swiped .swipe-actions {
    opacity: 1;
    pointer-events: auto;
}

.swipe-item .list-group-item {
    background: #fff;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;

    border-radius: 16px;                  /* KÃ¶ÅŸeleri yuvarla */
    margin-bottom: 5px;                  /* Alttan boÅŸluk */
}
    
.swipe-actions button {
    width: 80px;
    height: calc(100% - 10px);
    border-radius: 12px;
    font-size: 12px;
}
    
    .banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    display: none !important;
}

.banner-carousel .carousel-indicators [data-bs-target] {
    width: 16px;
    height: 4px;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    margin: 0 4px;
    transition: all .3s ease;
}

.banner-carousel .carousel-indicators .active {
    background: #fff;
    width: 24px;
}
    /* Carousel noktalarÄ±nÄ± (indikatorleri) gizle */
.banner-carousel .carousel-indicators {
    display: none !important;
}


    .banner-img {
    border-radius: 5px;
    object-fit: cover;
}
    
    /* Fade geÃ§iÅŸ efekti (modern yumuÅŸak geÃ§iÅŸ) */
#bannerCarousel .carousel-item {
    transition: opacity 0.8s ease-in-out, transform 1s ease-in-out;
}

/* Aktif slide */
#bannerCarousel .carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Pasif slide */
#bannerCarousel .carousel-item {
    opacity: 0;
    transform: scale(1.03);
}

/* GÃ¶rsel yumuÅŸatma */
#bannerCarousel img {
    border-radius: 5px;
    object-fit: cover;
}

    
    /* Carousel iÃ§indeki animasyonlarÄ± sÄ±fÄ±rla */
.carousel-item {
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1), 
                opacity 0.5s ease, 
                filter 0.5s ease;
}

/* Soldan gelen yeni slide */
.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(100%) scale(0.96);
    opacity: 0;
    filter: blur(6px);
}

/* Soldan Ã§Ä±kan eski slide */
.carousel-item-start.carousel-item-next,
.carousel-item-end.carousel-item-prev {
    transform: translateX(-30%) scale(1.02);
    opacity: 0.6;
    filter: blur(3px);
}

/* Aktif slide */
.carousel-item.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Carousel modern gÃ¶rÃ¼nÃ¼m */
.banner-carousel {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}



/* IndicatorlarÄ± gizle */
.carousel-indicators {
    display: none !important;
}

/* SaÄŸ Ã¼stte timer */
.carousel-timer {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    z-index: 20;
}

.carousel-timer svg {
    width: 100%;
    height: 100%;
   
}

.carousel-timer-bg {
    fill: none;
    stroke: rgba(255,255,255,0.35);
    stroke-width: 3;
}

.carousel-timer-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.15s linear;
}
    
    
    .carousel-timer-text {
    fill: #fff;
    font-size: 9px;
    font-weight: 700;
    dominant-baseline: middle;
}


 @media (min-width: 992px) {
    #a2hsWidget {
      width: auto;
      max-width: 600px; /* Desktop limit */
      left: 50%;
      transform: translateX(-50%);
    }
  }
    
    #voiceBtn.listening {
    color: red !important;
    animation: pulseMic 1.2s infinite ease-in-out;
}

@keyframes pulseMic {
    0%   { transform: scale(1);     opacity: 1; }
    50%  { transform: scale(1.25);  opacity: 0.7; }
    100% { transform: scale(1);     opacity: 1; }
}


@media (max-width: 360px) {
    
 
    #addSecDiv div.flex-grow-1 div.fw-bold {
        font-size: 14px;
    }
    
    #addSecDiv div.flex-grow-1 #addresAdi {
        font-size: 12px !important;
    }
    

    button#changeAddr {
        font-size: 12px !important;
    }
    
    div.order-status-box div.flex-grow-1 div.fw-bold {
        font-size: 12px !important;
    }
    div.order-status-box div.flex-grow-1 div.text-light.small {
        font-size: 10px !important;
    }
    
  
    
    div#adresModal div.modal-body div.list-group div.swipe-item button.list-group-item div.flex-grow-1 div.fw-bold {
        font-size: 14px !important;
    }
    
       div#adresModal h5.modal-title {
        font-size: 16px !important;
    font-weight: bold;
           
           .search-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);

    padding: 10px 14px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);

    color: #6c757d;
    font-size: 16px;
}

.search-field {
    padding-left: 42px;
    padding-right: 12px;

    border: none;
    background: transparent;

    font-size: 16px;
    font-weight: 500;
    color: #212529;

    height: 44px;
}

.search-field::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

.search-field:focus {
    outline: none;
    box-shadow: none;
}

    }

    
}


.category-card {
    position: relative;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;

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

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Siyah opak overlay (gradient) */
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.15)
    );
    z-index: 1;
}

/* YazÄ± */
.category-name {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    z-index: 2;
}

.search-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);

    padding: 5px 7px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);

    color: #6c757d;
    font-size: 16px;
}

.search-field {
    padding-left: 12px;
    padding-right: 6px;

    border: none;
    background: transparent;

    font-size: 16px;
    font-weight: 500;
    color: #212529;

    height: 44px;
}

.search-field::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

.search-field:focus {
    outline: none;
    box-shadow: none;
}


@media (max-width: 360px) {
    .category-card {
        height: 95px;
    }

    .category-name {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .search-wrapper {
        border-radius: 14px;
        padding: 4px 6px;
    }

    .search-field {
        font-size: 14px;
        height: 32px;
    }
}






.search-field::-webkit-search-cancel-button {
    display: none;
}



/* Fullscreen loader */
#pageLoader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

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

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

#pageLoader.active {
    opacity: 1;
    pointer-events: all;
}

/* Circle */
.loader-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;

    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;

    animation: spin 0.8s linear infinite;
    transform: scale(1);
}

/* Spin */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Grow to center */
#pageLoader.grow .loader-circle {
    animation:
        spin 0.8s linear infinite,
        growCenter 0.5s ease forwards;
}

@keyframes growCenter {
    to {
        transform: scale(3);
    }
}

.category-card {
    position: relative;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-radius 0.35s ease,
        width 0.35s ease,
        height 0.35s ease,
        transform 0.55s cubic-bezier(.4,0,.2,1);
}

.category-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.loading-clone.loading .category-spinner {
    opacity: 1;
}

.category-spinner::after {
    content: "";
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Circle form */
.category-card.loading {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.category-card.loading .category-name {
    opacity: 0;
}

.category-card.loading .category-overlay {
    background: rgba(0,0,0,0.35);
}

.category-card.loading .category-spinner {
    opacity: 1;
}

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


.loading-clone {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1;          /* ðŸ”¥ ovali tamamen bitirir */
    overflow: hidden;
}

.loading-clone.loading {
    width: 80px !important;
    height: 80px !important;
}


.page-blur-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;

    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.page-blur-overlay.active {
    opacity: 1;
}


/* CTA Banner Base */
.cta-banner {
    width: 100%;
    height: 160px; /* Desktop */
    overflow: hidden;
    position: relative;
}

/* Image Handling */
.cta-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .cta-banner {
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .cta-banner {
        height: 96px;
    }
}

/* ===== MOBİL (DEFAULT) ===== */
.meal-card {
    height: 100px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.meal-main {
    height: 100px;
    position: relative;
}

.meal-sides {
    height: 100px;
    display: flex;
    flex-direction: column;
}

.meal-side {
    height: 50px;
}

/* Ortak img */
.meal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.meal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}

.meal-title {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===== DESKTOP ===== */
@media (min-width: 992px) {

    .meal-card {
        height: 180px;          /* 👈 büyüttük */
    }

    .meal-main {
        height: 180px;
    }

    .meal-sides {
        height: 180px;
    }

    .meal-side {
        height: 90px;           /* 160 / 2 */
    }

    .meal-title {
        font-size: 15px;        /* okunurluk */
    }
}



