body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
}

.pi-gradient {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
}

.pi-symbol {
    font-family: "Times New Roman", "Georgia", serif;
    font-weight: bold;
    font-size: larger;
    margin-left: 2px;
    color: #8a2be2;
}

.text-pi {
    color: #8a2be2;
}

.btn-pi {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
    border: none;
}

.btn-pi:hover {
    opacity: 0.9;
    color: white;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.product-card {
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-img {
    height: 180px;
    object-fit: contain;
    padding: 1.5rem;
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.product-action-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.wishlist-btn,
.cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover,
.cart-btn:hover {
    background-color: #f8f9fa;
}

.wishlist-btn.active {
    color: #dc3545;
}

.wishlist-btn.active i::before {
    content: "\F415";
}

.price-tag {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.footer-dark {
    background-color: #212529;
}

.footer-top {
    background-color: #2c3036;
    padding: 4rem 0;
}

.footer-bottom {
    background-color: #212529;
    padding: 1.5rem 0;
}

.footer-heading {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.footer-heading:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background: linear-gradient(135deg, #8a2be2, #4b0082);
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
    color: #adb5bd;
}

.footer-contact-icon {
    margin-right: 1rem;
    color: #8a2be2;
}

.footer-newsletter-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.footer-newsletter-input::placeholder {
    color: #adb5bd;
}

.footer-newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: none;
    border-color: #8a2be2;
}

.payment-method {
    display: inline-block;
    background-color: white;
    padding: 0.5rem;
    border-radius: 5px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.wishlist-icon {
    position: relative;
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-wishlist-item {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.wishlist-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.wishlist-item-remove:hover {
    color: #dc3545;
}

.empty-wishlist {
    padding: 2rem;
    text-align: center;
}

.empty-wishlist i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.filter-btn.active {
    background-color: #8a2be2 !important;
    color: white !important;
}

.pi-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.pi-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: none;
    color: white;
}

.pi-btn:hover {
    opacity: 0.9;
    color: white;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.quantity-btn:hover {
    background-color: #f8f9fa;
}

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

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

.pi-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28a745;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .product-image svg {
        width: 60px;
        height: 60px;
    }

    .product-image text {
        font-size: 24px;
    }

    .card-body {
        padding: 1rem !important;
    }

    .pi-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .shipping-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .shipping-email {
        width: 100%;
        text-align: left !important;
    }

    .fs-4 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .display-6 {
        font-size: 1.5rem !important;
    }

    .fs-4 {
        font-size: 1.25rem !important;
    }

    .fs-5 {
        font-size: 1rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

.wishlist-btn,
.cart-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 6px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wishlist-btn:hover,
.cart-btn:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

.wishlist-btn i,
.cart-btn i {
    font-size: 16px;
    color: #333;
}

/* Cart Offcanvas Styles */
.cart-icon {
    position: relative;
}

.empty-cart {
    padding: 2rem;
    text-align: center;
}

.empty-cart i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.offcanvas-cart-item {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    gap: 1rem;
}

.offcanvas-cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.cart-item-remove:hover {
    color: #dc3545;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: #8a2be2;
}
