@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sour Gummy', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400..700&display=swap');
body {
    font-family: 'Syne', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.blur-background-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('/storage/app/public/products/wPT_LIST\ 1.jpg'); /* zameni tvojom putanjom */
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}
.blur-background-page {
  position: relative;
  z-index: 0;
  background: transparent;
}
.custom-navbar {
  min-height: 80px;
  margin-bottom:50px;
}

.navbar-logo {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
@media (max-width: 767.98px) {
  .navbar-logo {
    top: 100%;
    transform: translate(-50%, -30%);
  }

  .logo-img {
    height: 80px;
  }
}
.logo-img {
  height: 120px;
  width: auto;
}

.container {
  flex: 1;
}

.footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 20px;
  background-color: #fff;
  border-top: 2px solid #C3443F;
  position: relative;
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.footer p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}
button {
    font-family: 'Syne', sans-serif;
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.price {
    font-size: 1.1rem;
    color: #222;
    font-family: 'Work Sans', sans-serif;
}
.number-font{
    font-family: 'Work Sans', sans-serif;
}
.pagination .page-link {
    padding: 0.375rem 0.75rem; /* Default Bootstrap padding for medium size */
    font-size: 1rem; /* Default Bootstrap font size for medium size */
    line-height: 1; /* Reduce line height to minimize vertical space */
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 0.375rem 0.75rem; /* Match default padding */
    font-size: 1rem; /* Match default font size */
    width: 32px; /* Slightly larger width for arrow buttons */
    height: 32px; /* Slightly larger height for arrow buttons */
    display: flex; /* Center the text */
    align-items: center;
    justify-content: center;
}
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
    .product-grid > .fade-in {
        height: 100%;
    }

    .product-card {
        height: 100%;
    }
}
.image-wrapper {
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 250px;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color:#080808!important;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.btn-primary {
    padding: 0.25rem 0.8rem;
    font-size: 0.9rem;
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    
}
.custom-button {
    padding: 0.25rem 0.8rem;
    font-size: 0.8rem;
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    color:#fff!important;
    border:1px solid #C3443F!important;
    border-radius:12px;
    transition:0.5s ease!important;
    text-decoration: none;
}
.custom-button:hover{
        background: #fff!important;
        color: #C3443F!important;
        border:1px solid #C3443F!important;
}
.custom-button-order {
    padding: 0.25rem 0.8rem!important;
    font-size: 0.9rem!important;
    background-color: #008000!important;
    color:#fff!important;
    border:1px solid #008000!important;
    border-radius:12px;
    transition:0.5s ease!important;
    text-decoration: none;
}
.custom-button-order:hover{
        background-color: #fff!important;
        color: #008000!important;
        border:1px solid #008000!important;
}
.custom-button-extra {
    padding: 0.25rem 0.8rem;
    font-size: 0.8rem;
    background-color: #fff!important;
    color:#C3443F!important;
    border:1px solid #C3443F!important;
    border-radius:12px;
    transition:0.5s ease!important;
    text-decoration: none;
}
.custom-button-extra:hover{
        background: #C3443F;
background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
        color: #fff!important;
        border:1px solid #C3443F!important;
}
.custom-button-placanje {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: #C3443F;
background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    color:#fff!important;
    border:1px solid #C3443F!important;
    border-radius:12px;
    transition:0.5s ease!important;
    text-decoration: none;
}
.custom-button-placanje:hover{
        background: #fff!important;
        color: #C3443F!important;
        border:1px solid #C3443F!important;
}
.custom-button-naruci {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: #fff!important;
    color:#C3443F!important;
    border:1px solid #C3443F!important;
    border-radius:12px;
    transition:0.5s ease!important;
    text-decoration: none;
}
.custom-button-naruci:hover{
        background: #C3443F!important;
        background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%)!important;
        color: #fff!important;
        border:1px solid #C3443F!important;
}
.dodaci-styling{
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 50px;
    border-radius: 12px;
    border: 1px solid #c3433f3d;
}
.add-remove-ingridient{
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    border: 1px solid #c3443f;
    color:#fff;
    border-radius: 50%;
    padding-left: 5px;
    padding-right: 5px;
    transition: 0.5s ease;
}
.add-remove-ingridient:hover{
    background: #fff;
    border: 1px solid #c3443f;
    color: #c3443f;
    border-radius: 50%;
    padding-left: 5px;
    padding-right: 5px;
}
.add-remove-total{
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    border: 1px solid #c3443f;
    color:#fff;
    border-radius: 50%;
    padding-left: 5px;
    padding-right: 5px;
    transition: 0.5s ease;
}
.add-remove-total:hover{
    background: #fff;
    border: 1px solid #c3443f;
    color: #c3443f;
    border-radius: 50%;
    padding-left: 5px;
    padding-right: 5px;
}
.text-decoration-none:hover {
    text-decoration: none !important;
}

        .navbar-brand {
            font-size: 1.5rem;
            font-weight: bold;
            justify-content: center;
        }
        .cart-icon {
            position: relative;
            border: 1px solid #c3443f;
            border-radius: 50%;
            transition: 0.5s ease;
            padding-left: 4px;
            padding-right: 4px;
            
        }
        @media (max-width: 767.98px) {
            .cart-icon{
                padding-left: 10px;
                padding-right: 10px;
            }
        }
        .cart-icon i{
            color:#c3443f;
        }
        .cart-icon:hover{
            background: #C3443F;
            background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
        }
        .cart-icon:hover i{
            color:#ffff;
        }
        .cart-count {
            position: absolute;
            top: -10px;
            right: -10px;
            background-color: #C3443F;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            font-size: 12px;
        }
        .category-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;

    /* Added for swipe behavior */
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
}
.category-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit */
}

.category-nav a {
    display: inline-block;
    background: #fff;
    border: 1px solid #c3443f;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    color: #c3443f;
    transition: 0.5s ease;
    margin-right: 0.5rem;
}

.category-nav a:hover {
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    color: #fff;
    border: 1px solid #c3443f;
}

.category-nav a.active {
    font-weight: bold;
    background: #C3443F;
    background: linear-gradient(90deg,rgba(195, 68, 63, 1) 0%, rgba(133, 32, 30, 1) 50%, rgba(195, 68, 63, 1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    color: #fff;
}

/* Mobile optimization */
@media (max-width: 576px) {
    .category-nav {
        display: block; /* Use block so scroll works */
    }

    .category-nav a {
        font-size: 0.875rem;
        padding: 0.4rem 0.75rem;
    }
}

        .category-section {
            padding: 60px 0 40px;
        }
        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .fade-in.show {
            opacity: 1;
            transform: none;
        }
        /* Responsive - na manjim ekranima 1 ili 2 po redu */
        @media (max-width: 992px) {
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 576px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
        }
  @media (max-width: 768px) {
  .responsive-cart thead {
    display: none;
  }

  .responsive-cart tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
  }

  .responsive-cart td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid #dee2e6;
  }

  .responsive-cart td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1;
    margin-right: 1rem;
    color: #555;
  }

  .responsive-cart td:last-child {
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .responsive-cart2 thead {
    display: none;
  }

  .responsive-cart2 tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
  }

  .responsive-cart2 td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid #dee2e6;
  }

  .responsive-cart2 td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1;
    margin-right: 1rem;
    color: #555;
  }

  .responsive-cart2 td:last-child {
    border-bottom: none;
  }
}
