.product-card {
    width: 100%;
    max-width: 300px;
    height: 450px;
    transition: transform 0.3s ease;
}

.product-image {
    height: 60%;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

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

.product-image .img-primary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}

.product-image .img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image:hover .img-primary {
    opacity: 0;
}

.product-image:hover .img-secondary {
    opacity: 1;
}

.product-info {
    height: fit-content;
    min-height: 30%;
    background-color: var(--theme-color2-light);
}

.product-title {
    font-size: 0.95rem;
}

.product-price {
    color: var(--theme-color3);
    font-size: 1.2rem;
}

.add-to-cart {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--theme-color2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--theme-color);
    border: 2px solid var(--theme-color);
}

.add-to-cart svg {
    transition: stroke 0.3s ease;
}

.add-to-cart:hover svg line {
    stroke: var(--theme-color2);
}

.splide__track {
    padding: 1rem 0;
}

.splide__slide {
    padding: 0.5rem;
}

.col-md-2_5 {
    width: calc(20% - 0.8rem);
}

@media (max-width: 769px) {
    .col-md-2_5 {
        width: calc(100% - 0.8rem);
    }
}

.kid-pill-button {
    background-color: var(--theme-color2);
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 10px 5px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 0 var(--theme-color2-light);
    transition: all 0.4s ease;
}

.kid-pill-button:hover {
    background-color: var(--theme-color);
}

.kid-pill-button:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #d94a32;
}
.cart-shimmer {
    padding: 1rem;
}

.shimmer-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.shimmer-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-right: 1rem;
}

.shimmer-content {
    flex: 1;
}

.shimmer-line {
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Cart Styling */
.cart-container {
    padding: 0.5rem;
    height: 100%;
}

.empty-cart i {
    color: var(--theme-color2);
}

.cart-items {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-title {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--theme-color2);
}

.cart-item-price {
    font-size: 0.95rem;
}

.cart-qty-group {
    border-radius: var(--rounded-theme);
    overflow: visible;
}

.cart-qty-btn {
    border-color: var(--theme-color2) !important;
    color: var(--theme-color2) !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cart-qty-btn:hover {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    color: white !important;
}

.cart-qty-input {
    border-color: var(--theme-color2) !important;
    font-weight: 600;
    max-width: 50px;
}

.cart-qty-input:focus {
    border-color: var(--theme-color) !important;
    box-shadow: none;
}

.cart-remove-btn {
    color: #dc3545 !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.cart-remove-btn:hover {
    color: #bb2d3b !important;
    text-decoration: underline;
}

.cart-summary {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: var(--rounded-theme);
    margin-top: 1rem;
}

.cart-checkout-btn {
    background-color: var(--theme-color2) !important;
    color: white !important;
    border: 2px solid var(--theme-color2) !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
    background-color: var(--theme-color3) !important;
    border-color: var(--theme-color3) !important;
    transform: translateY(-1px);
}

.cart-clear-btn {
    transition: all 0.3s ease;
}

.cart-clear-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
    transform: translateY(-1px);
}

/* Checkout Page Styling */
.checkout-form .form-label {
    font-weight: 600;
    color: var(--theme-color2);
    margin-bottom: 0.5rem;
}

.checkout-form .form-control,
.checkout-form .form-select {
    border-radius: var(--rounded-theme);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--theme-color), 0.1);
}

#checkout-cart-container .cart-container {
    padding: 1rem;
}

#checkout-cart-container .cart-items {
    max-height: calc(100vh - 400px);
}

#checkout-cart-container .cart-summary {
    margin-top: 0;
    background-color: transparent;
    padding: 1rem;
}

/* Stock Badge Styles */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.out-of-stock-badge {
    background-color: #dc3545;
    color: white;
}

.low-stock-badge {
    background-color: #ff9800;
    color: white;
}

/* Out of Stock Product Card */
.product-card.out-of-stock {
    opacity: 0.7;
}

.product-card.out-of-stock .product-image {
    filter: grayscale(50%);
}

.add-to-cart.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.add-to-cart.disabled:hover {
    background-color: transparent !important;
    border-color: var(--theme-color2) !important;
}

.floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: var(--theme-color2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1030;
    transition: all 0.3s ease;
    opacity: 0;
}

.floating-cart:hover {
    transform: scale(1.05);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    background: var(--theme-color);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Color Swatches */
.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-swatch.active {
    border: 2px solid var(--theme-color2);
    box-shadow: 0 0 0 2px rgba(var(--theme-color2), 0.2);
}

.product-colors {
    font-size: 0.85rem;
}

.product-colors small {
    font-size: 0.75rem;
}
.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: #f0f0f0;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
}
.info-icon:hover {
    background: #e0e0e0;
}

.fancybox__container{
    z-index: 999999
}