/* ==========================================================================
   Premium Shop Styles
   ========================================================================== */

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --product-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --theme-gradient: linear-gradient(135deg, var(--theme) 0%, #f15a24 100%);
}

/* Featured Products Section */
.featured-products {
    background: #0f0f12;
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--theme);
    filter: blur(150px);
    opacity: 0.05;
    pointer-events: none;
}

/* Product Card Style */
.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme);
    box-shadow: var(--product-shadow);
}

.product-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1d1d21;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge-item {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new { background: var(--theme); color: var(--header); }
.badge-sale { background: #ff4d4d; color: #fff; }

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    transition: all 0.4s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--header);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.action-btn:hover {
    background: var(--theme);
    color: var(--header);
}

.product-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-content h4 a:hover {
    color: var(--theme);
}

.product-category {
    font-size: 14px;
    color: var(--theme);
    margin-bottom: 10px;
    display: block;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #666;
    margin-left: 8px;
}

.product-rating {
    color: #ffc107;
    font-size: 14px;
}

/* Shop Sidebar */
.shop-sidebar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child { margin-bottom: 0; }

.widget-title {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--theme);
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: var(--theme);
    padding-left: 5px;
}

.price-filter .range-slider {
    margin-top: 20px;
}

/* Category Page Styles */
.category-item {
    position: relative;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.5s ease;
}

.category-item:hover .category-img {
    transform: scale(1.15);
}

.category-item:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(241, 90, 36, 0.4) 100%);
}

.category-info h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -1px;
}

.category-info p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.6;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 90%;
}

.category-item:hover .category-info p {
    transform: translateY(0);
    opacity: 1;
}

.category-count {
    display: inline-block;
    background: var(--theme);
    color: var(--header);
    padding: 6px 18px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(239, 251, 83, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .category-item { height: 380px; }
    .category-info h3 { font-size: 30px; }
}

@media (max-width: 991px) {
    .product-card { padding: 12px; }
    .product-image img { height: 220px; }
    .product-content h4 { font-size: 18px; }
    .category-item { height: 350px; }
}

@media (max-width: 767px) {
    .category-overlay { padding: 25px; }
    .category-info h3 { font-size: 26px; }
    .category-info p { font-size: 14px; opacity: 1; transform: translateY(0); }
    .featured-products .section-title h2 { font-size: 32px; }
}

@media (max-width: 575px) {
    .product-image img { height: 200px; }
    .category-item { height: 300px; }
}

/* Custom Scrollbar */
.shop-sidebar::-webkit-scrollbar {
    width: 5px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--theme);
}
