:root {
    --intro-title-color: #0050a6;
    --intro-subtitle-color: #fbca17;
    --btn-custom-info-bg: #007bff;
    --btn-custom-info-hover-bg: #0069d9;
    --navbar-custom-bg: linear-gradient(to bottom, rgb(255, 255, 201), #fbca17);
}

body {
    background-color: #fefae9;
}

.admin-table td:first-child {
    white-space: nowrap;
    width: 1%;
}

.admin-table td:nth-child(2) {
    width: 100%;
}

.admin-table .form-control {
    width: 100%;
}

.align-bottom-container {
    display: flex;
    align-items: center;
}

.animated-item {
    position: fixed;
    z-index: 9999;
    opacity: 1;
    transition: all 500ms ease-in-out;
}

.bg-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.bounce {
    animation: bounce 0.5s ease infinite;
    animation-iteration-count: 3;
}

.btn-custom-info {
    background-color: var(--btn-custom-info-bg);
    color: #fff;
}

.btn-custom-info:hover {
    background-color: var(--btn-custom-info-hover-bg);
    color: #fff;
}

#cart_count{
    text-align: center;
    padding: 0 0.9rem 0.1rem 0.9rem;
    border-radius: 3rem;
}

.cart-items + .cart-items{
    padding: 2% 0;
}

.carousel-inner,
.carousel-item {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.cell-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px !important;
}

.cell-container:hover {
    transform: scale(1.01);
    transition: transform 0.1s ease-in-out;
}

.center-row {
    justify-content: center;
    margin-bottom: 30px; 
}

.container {
    margin: 0 auto;
    padding: 0;
}

.equal-width {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flex-btn span {
    margin: 0 5px;
}

.header-margin {
    margin-top: 80px;
}

.intro-section {
    position: relative;
    height: 260px;
    overflow: hidden;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.intro-subtitle {
    color: var(--intro-subtitle-color);
    font-size: calc(12px + 1.5vw);
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.intro-title {
    color: var(--intro-title-color);
    font-size: calc(20px + 2vw);
    margin-bottom: 0;
    font-family: 'Titan One', cursive;
    -webkit-text-stroke: 1px white;  
    text-stroke: 1px white;  
}

.mobile-cart {
    display: none;
    width: 100%;
    text-align: center;
}

.navbar-brand h3 {
    font-family: 'Titan One', cursive;
}

.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-custom-bg);
}

.order-button {
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overlay-text {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.price-details h6{
    padding: 3% 2%;
}

.product-img {
    max-width: 100%;
    height: auto;
    background: lightblue;
    background: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 100%), 
        repeating-conic-gradient(
            var(--intro-subtitle-color) 0deg 20deg,
            #fde384 20deg 40deg
        );
    background-blend-mode: normal, normal;
}

.product-img:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 100%); 
    opacity: 0.5;
}

.shrink-move {
    animation-name: shrinkAndMove;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.shopping-cart{
    padding: 3% 0;
}

.sticky-header {
    border-collapse: separate;
}

.sticky-header th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    border: 1px solid #ececec;
}

.small-text {
    font-size: 12px;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.table-responsive th, .table-responsive td {
    word-wrap: break-word;
}

/* Media queries */
@media (max-width: 991.98px) {
    .mobile-cart {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-custom {
        height: 75px;
    }
}

@media (max-width: 991.98px) {
    .table-responsive .table th, 
    .table-responsive .table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .table-responsive .table th + th, 
    .table-responsive .table td + td {
        border-top: none;
    }
    .table-responsive .table thead {
        display: none;
    }
    .header-margin {
        margin-top: 220px;
    }
    .navbar-custom {
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .navbar-collapse {
        flex-grow: 0;
    }
}

@keyframes bounce {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
}

@keyframes shrinkAndMove {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.1) translate(100%, -100%);
        opacity: 0;
    }
}
