body {
    background: #F3F3F3;
    background-image: radial-gradient(at 0% 0%, hsla(140, 39%, 20%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(140, 39%, 20%, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(140, 39%, 20%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(140, 39%, 20%, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    overscroll-behavior-y: contain;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    touch-action: manipulation;
}

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

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    visibility: hidden;
}

.loading-screen.show {
    visibility: visible;
}

.loading-screen.hide {
    visibility: hidden;
    transition: visibility 0s linear 1.5s;
}

.loading-screen-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #24342c;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: transform 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 2;
}

.loading-screen-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #24342c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

.loading-screen.hide .loading-screen-top {
    transform: translateY(-150%);
}

.loading-screen.hide .loading-screen-bottom {
    transform: translateY(100%);
}

.loading-logo {
    transform: translateY(50%);
    max-width: 200px;
    background: #24342c;
    border-radius: 50%;
}

.loading-screen-footer {
    position: absolute;
    bottom: 24px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    padding: 8px 10px;
    column-gap: 6px;
}

.spinner {
    animation: spin 1s linear infinite;
    width: 36px;
    transform-origin: center center;
    height: 36px;
    margin-top: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- HEADER --- */
.modern-header {
    background: rgb(17 34 25 / 91%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #F4F2DE;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-social-media-list ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}

.header-social-media-list ul li a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    color: #F4F2DE;
    transition: 0.3s;
}

.header-social-media-list ul li a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-loyalty-container {
    position: relative;
}

.loyalty-trigger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F2DE;
    border-radius: 50%;
    color: #294234;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.loyalty-trigger:hover {
    transform: scale(1.05);
}

.pulse-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    top: 0;
    left: 0;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- CATEGORIES BAR --- */
.categories-bar-wrapper {
    display: flex;
    align-items: center;
    position: sticky;
    top: 80px;
    z-index: 99;
    background: rgb(17 34 25 / 91%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.fixed-menu-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    padding: 12px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    /* Takes available space */
}

.fixed-menu-categories::-webkit-scrollbar {
    display: none;
}

.fixed-menu-categories .fixed-menu-category a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
}

.fixed-menu-categories .fixed-menu-category:last-child {
    padding-right: 0px;
}

.fixed-menu-categories .fixed-menu-category.active a {
    background: #F4F2DE;
    color: #112219;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.view-toggle-wrapper {
    padding: 0 15px 0 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.view-toggle-wrapper .control-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.view-toggle-wrapper .control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* --- MENU CONTENT --- */
.menu-body {
    padding: 30px 0 80px 0;
}

.menu-categories {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.menu-category {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.menu-category-title {
    width: 100%;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #112219;
    background: transparent;
    position: relative;
    border-radius: 0;
}

.menu-category-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #294234;
    margin-top: 5px;
    border-radius: 2px;
}

.menu-category-items {
    padding: 0 20px;
    /* Applied to both grid and carousel */
}

/* For carousel we need specific padding to show the cut-off cards */
.carousel-view .menu-category-items {
    padding-left: 20px;
    padding-right: 0;
}

.carousel-view .product-carousel .owl-stage {
    padding-left: 0 !important;
    display: flex;
}

.carousel-view .product-carousel .owl-item {
    display: flex;
    float: none;
    /* Override owl carousel float */
}

.carousel-view .item {
    display: flex;
    width: 100%;
    flex: 1;
}

.carousel-view .product-card {
    width: 100%;
}

/* --- PRODUCT CARDS (Base/Carousel) --- */
.product-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #f5f7f6 0%, #e2e8e4 100%);
    /* Placeholder background */
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-text {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    flex: 1;
    justify-content: space-between;
}

.product-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #294234;
    background: rgba(41, 66, 52, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    align-self: flex-start;
}

/* --- GRID VIEW SPECIFIC --- */
.grid-view .owl-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-view .owl-carousel .owl-stage-outer,
.grid-view .owl-carousel .owl-stage,
.grid-view .owl-carousel .owl-item {
    display: contents !important;
}

.grid-view .item {
    width: 100% !important;
}

@media (min-width: 768px) {
    .grid-view .owl-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-view .owl-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}





#soguk-icecekler,
#sicak-icecekler,
#tatlilar,
#kategori-4,
#kategori-5,
#kategori-6,
#kategori-7,
#kategori-8 {
    scroll-margin-top: 173px;
}

.scroll-to-top-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 55px;
    right: 20px;
    z-index: 1;
}

.scroll-to-top-area.hidden {
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}


.scroll-to-top-area.show {
    opacity: 1;
    visibility: visible;
    transition: .4s;
}

.scroll-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid #294234;
    background: #294234;
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    border: 2px solid #F4F2DE;
}

footer {
    padding: 20px 20px 30px 20px;
    background: #1e3227;
}

.footer-copyright {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    justify-content: center;
}

.footer-copyright a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.footer-copyright a:hover {
    opacity: 0.8;
}

.fancybox-caption {
    background: #ffffff;
    padding: 20px;
}

.fancybox-caption__body {
    display: flex;
    justify-content: start;
    color: #282828;
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: start;
}

.fancybox-caption__body ul {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    width: 100%;
}

.fancybox-caption__body ul li {
    display: flex;
    align-items: center;
    column-gap: 12px;
    background: #f3f3f3;
    padding: 4px;
    width: 100%;
    border-bottom: 1px solid #133a16;
}

.fancybox-caption__body ul li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #414141;
    display: block;
    border-radius: 50px;
}

/* --- CUSTOM PRODUCT MODAL --- */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.product-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.4s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.product-modal-overlay.show .product-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.product-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #294234;
    color: #fff;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.product-modal-header {
    width: 100%;
    height: auto;
    max-height: 350px;
    background: #f5f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
}

.product-modal-header img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.product-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.product-modal-title {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 5px;
}

.product-modal-price {
    font-family: Poppins;
    font-size: 18px;
    font-weight: 600;
    color: #27553E;
    margin-bottom: 20px;
}

.product-modal-tabs {
    display: flex;
    margin-bottom: 20px;
    background: #f0f2f1;
    border-radius: 50px;
    padding: 5px;
}

.pm-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pm-tab.active {
    background: #294234;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pm-tab-content {
    display: none;
    font-family: Poppins;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

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

.pm-info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pm-info-row strong {
    width: 80px;
    color: #111;
}