body {
    width: 100%;
    min-height: 100vh;
    display: block !important;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 80vw;
    height: 80vh;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(120px);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"),
        radial-gradient(circle, rgba(67, 164, 215, 0.12) 0%, rgba(173, 216, 230, 0.08) 50%, rgba(255, 193, 7, 0.1) 100%);
}

body::before {
    top: -20%;
    left: -20%;
}

body::after {
    bottom: -20%;
    right: -20%;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"),
        radial-gradient(circle, rgba(140, 205, 57, 0.08) 0%, rgba(173, 216, 230, 0.1) 50%, rgba(67, 164, 215, 0.12) 100%);
}

@media screen and (min-width: 992px) {
    body {
        padding: 0 10vw;
    }
}

main {
    position: relative;
    z-index: 1;
}

.bg-white,
.border.rounded,
.product-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px 0 rgba(173, 216, 230, 0.12);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cart_sidebar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px 0 rgba(173, 216, 230, 0.15);
}


.list-group-item.active:hover {
    color: white !important;
    cursor: not-allowed;
}

/* Product Page Responsive Width */
.product {
    width: 100%;
    max-width: 100%;
}

@media screen and (min-width: 992px) {
    .product {
        width: 75%;
        max-width: 75%;
        margin: 0 auto;
    }
}

/* BEM Product Components */
.product-detail__name {
    color: #333;
    font-weight: 600;
}

.product-detail__price {
    font-weight: 500;
}

/* Disabled button styling */
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Product Card Components */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 8px;
    overflow: hidden;
    
}

.product-card {
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card__image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-card__image {
    transition: transform 0.3s ease;
}

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

.product-card__name {
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 25ch;
    font-size: 1.1rem;
}

.product-card__description {
    color: #666;
    font-weight: 400;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 30ch;
    opacity: 0.8;
    font-size: 0.9rem;
}

.product-card__name:hover {
    color: #e47911;
    text-decoration: none;
}

.product-card__price {
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0.25rem 0;
}

.product-card__currency {
    font-size: 0.8rem;
    vertical-align: top;
    margin-right: 2px;
}

.product-card__price-main {
    font-size: 1.4rem;
}

.product-card__price-decimal {
    font-size: 0.9rem;
    vertical-align: top;
}

.product-card__rating {
    color: #ff9f00;
    font-size: 0.9rem;
}

.product-card__shipping {
    color: #007600;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card__icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-right: 4px;
}

.product-info__section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.product-description {
    margin-top: 1.5rem;
}

.product-description__title {
    color: #333;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.product-description__content {
    background: #fff;
    border-left: 3px solid #ffc107;
    padding: 1rem;
    border-radius: 0.375rem;
}

.shop__description {
    display: block;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    text-indent: 0;
}

.shop__details {
    display: block;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    text-indent: 0;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.9) !important;
    opacity: 1 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 1) !important;
}

/* Modern Pagination */
.pagination {
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: white;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.pagination .page-item:not(.active) .page-link:hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 20px !important;
    width: auto;
    padding: 0 16px;
}