/* ============================================
   SNITCH STYLE - MODERN E-COMMERCE DESIGN
   ============================================ */

/* Category Section Styles */
.snitch-section {
    background: #ffffff;
    padding: 40px 0;
}

.snitch-section-header {
    margin-bottom: 40px;
}

.snitch-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000000;
    font-family: 'Arial', sans-serif;
}

.snitch-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .snitch-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.snitch-category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.3s ease;
}

.snitch-category-link {
    display: block;
    text-decoration: none;
}

.snitch-category-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f8f8f8;
}

.snitch-category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.snitch-category-card:hover .snitch-category-image {
    transform: scale(1.05);
}

.snitch-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.snitch-category-card:hover .snitch-category-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.snitch-category-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
    text-align: center;
}

/* Product Card Styles */
.snitch-product-card {
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
}

.snitch-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.snitch-product-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    overflow: hidden;
    background: #f8f8f8;
}

.snitch-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.snitch-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000;
    color: #ffffff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.snitch-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.snitch-product-card:hover .snitch-product-overlay {
    transform: translateY(0);
}

.snitch-quick-view {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.snitch-out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    z-index: 3;
}

.snitch-product-details {
    padding: 15px 0;
}

.snitch-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
    text-transform: capitalize;
}

.snitch-product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.snitch-original-price {
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
}

.snitch-sale-price {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

/* Product Grid Layouts */
.snitch-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .snitch-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.snitch-product-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .snitch-product-grid-2 {
        grid-template-columns: 1fr;
    }
}

.snitch-grid-item {
    width: 100%;
}

/* Category-wise Product Section */
.snitch-category-section {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .snitch-category-section {
        padding: 20px 15px;
    }
}

.snitch-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000000;
}

.snitch-category-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000000;
}

.snitch-view-all-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.snitch-view-all-link:hover {
    color: #666666;
    text-decoration: none;
}

/* Section Cards (Best Selling, Top Rated) */
.snitch-section-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .snitch-section-card {
        padding: 20px 15px;
    }
}

.snitch-section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000000;
}

.snitch-section-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #000000;
    margin: 0;
}

/* Compact Product Card (for Best Selling & Top Rated) */
.snitch-product-card-compact {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.snitch-product-card-compact:hover {
    background: #f8f8f8;
    border-color: #e0e0e0;
}

.snitch-product-image-wrapper-compact {
    position: relative;
    width: 120px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8f8f8;
}

@media (max-width: 576px) {
    .snitch-product-image-wrapper-compact {
        width: 100px;
        height: 125px;
    }
}

.snitch-product-image-compact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.snitch-product-details-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.snitch-product-name-compact {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Utilities */
@media (max-width: 1200px) {
    .snitch-title {
        font-size: 24px;
    }

    .snitch-category-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .snitch-title {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .snitch-category-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .snitch-section-title {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .snitch-product-name {
        font-size: 13px;
        min-height: 36px;
    }

    .snitch-sale-price {
        font-size: 14px;
    }
}

/* Additional Hover Effects */
.snitch-product-card {
    cursor: pointer;
}

.snitch-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.snitch-product-card:hover::before {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Link Reset */
.snitch-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.snitch-category-link:hover {
    text-decoration: none;
}
