/* Homepage Specific Styles */

/* Hero Section - Mobile-First Design */
.hero-section {
    padding: 0 0;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(248, 187, 217, 0.1));
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--light-sky-blue), #5dade2);
    border: none;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid var(--light-sky-blue);
    color: var(--light-sky-blue);
    background: transparent;
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--light-sky-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Product Combo Section */
.combo-section {
    border-bottom: 1px solid var(--border-color);
}

.combo-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 24px;
}

.combo-scroll-container {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.combo-items-wrapper {
    display: flex;
    animation: scrollCombos 25s infinite linear;
    gap: 20px;
}

.combo-items-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scrollCombos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.combo-item {
    flex-shrink: 0;
    width: 280px;
}

.combo-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.combo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.combo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    color: var(--white);
}

.combo-badge.winter {
    background: linear-gradient(135deg, #4A90E2, #7B68EE);
}

.combo-badge.summer {
    background: linear-gradient(135deg, #FF6B6B, #FFE66D);
}

.combo-badge.newborn {
    background: linear-gradient(135deg, var(--pale-pastel-pink), var(--gentle-lavender-purple));
}

.combo-badge.feeding {
    background: linear-gradient(135deg, var(--soft-mint-green), var(--light-peach-orange));
}

.combo-badge.bath {
    background: linear-gradient(135deg, var(--light-sky-blue), var(--soft-mint-green));
}

.combo-badge.play {
    background: linear-gradient(135deg, #FF9A9E, #FECFEF);
}

.combo-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.combo-card:hover .combo-image img {
    transform: scale(1.05);
}

.combo-info {
    padding: 20px;
}

.combo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.combo-description {
    font-size: 13px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.4;
}

.combo-pricing {
    margin-bottom: 15px;
}

.combo-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--light-sky-blue);
    display: block;
}

.combo-original {
    font-size: 14px;
    color: var(--dark-gray);
    text-decoration: line-through;
    margin-right: 8px;
}

.combo-save {
    font-size: 12px;
    background: var(--soft-mint-green);
    color: var(--text-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.btn-combo {
    background: linear-gradient(135deg, var(--light-peach-orange), var(--pale-pastel-pink));
    border: none;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-combo:hover {
    background: linear-gradient(135deg, var(--gentle-lavender-purple), var(--light-sky-blue));
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-combo i {
    font-size: 12px;
}

/* Filter Bar */
.filter-bar {
    background: var(--light-gray);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-item {
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-select {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px;
    background: var(--white);
    min-width: 120px;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input {
    width: 100px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 8px 12px;
    text-align: center;
}

/* Product Grid - Homepage Specific */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 30px 0;
}

/* Homepage Product Card Styles */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-sky-blue);
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.image-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

.product-image:hover .image-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pale-pastel-pink);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    cursor: pointer;
}

.product-title:hover {
    color: var(--light-sky-blue) !important;
    text-decoration: underline;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--light-sky-blue);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.btn-add-cart {
    flex: 1;
    background: var(--soft-mint-green);
    border: none;
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-add-cart:hover {
    background: var(--light-peach-orange);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.btn-add-cart:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-quick-view {
    background: var(--gentle-lavender-purple);
    border: none;
    color: var(--text-dark);
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.btn-quick-view:hover {
    background: var(--pale-pastel-pink);
    transform: translateY(-2px);
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    line-height: 1.6;
}

/* Reviews Slider */
.reviews-section {
    background: linear-gradient(135deg, var(--light-sky-blue), var(--pale-pastel-pink));
    padding: 60px 0;
    margin: 50px 0;
    overflow: hidden;
    position: relative;
}

.reviews-container {
    display: flex;
    animation: slideReviews 15s infinite linear;
    gap: 30px;
}

.reviews-container:hover {
    animation-play-state: paused;
}

@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 350px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.reviewer-location {
    font-size: 12px;
    color: var(--dark-gray);
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 16px;
}

.newsletter-form .btn {
    padding: 15px 25px;
    border-radius: 0;
}

/* Mobile Responsive Styles for Homepage */ 
@media (max-width: 991.98px) {
    .hero-section {
        padding: 30px 0;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-image img {
        max-height: 300px;
    }

    .combo-items-wrapper {
        gap: 15px;
    }

    .combo-item {
        width: 250px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 20px 0;
        min-height: 45vh;
    }

    .hero-content {
        text-align: center;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero-image {
        margin-top: 15px;
    }

    .hero-image img {
        max-height: 250px;
        border-radius: 15px;
    }

    .combo-title {
        font-size: 20px;
        text-align: center;
    }

    .combo-items-wrapper {
        gap: 12px;
    }

    .combo-item {
        width: 220px;
    }

    .combo-card {
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 15px 0;
        min-height: 40vh;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-image img {
        max-height: 200px;
        border-radius: 12px;
    }

    .combo-title {
        font-size: 18px;
    }

    .combo-items-wrapper {
        gap: 10px;
    }

    .combo-item {
        width: 180px;
    }

    .combo-card {
        border-radius: 10px;
    }

    .combo-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 18px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-buttons .btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .hero-image img {
        max-height: 180px;
    }

    .combo-item {
        width: 160px;
    }
}

/* C
ategory Selection Popup */
.category-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.popup-content.fade-in {
    transform: scale(1);
    opacity: 1;
}

.popup-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    border-color: var(--light-sky-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(135, 206, 235, 0.2);
}

.category-icon {
    font-size: 40px;
    color: var(--light-sky-blue);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: #5dade2;
}

.category-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.category-card:hover .category-name {
    color: var(--light-sky-blue);
}

/* Special styling for different categories */
.category-card:nth-child(1) .category-icon {
    color: var(--pale-pastel-pink);
}

.category-card:nth-child(2) .category-icon {
    color: var(--soft-mint-green);
}

.category-card:nth-child(3) .category-icon {
    color: var(--light-peach-orange);
}

.category-card:nth-child(4) .category-icon {
    color: var(--gentle-lavender-purple);
}

.category-card:nth-child(5) .category-icon {
    color: var(--light-sky-blue);
}

.category-card:nth-child(6) .category-icon {
    color: var(--text-dark);
}

.category-card:nth-child(1):hover {
    border-color: var(--pale-pastel-pink);
    box-shadow: 0 10px 25px rgba(248, 187, 217, 0.2);
}

.category-card:nth-child(2):hover {
    border-color: var(--soft-mint-green);
    box-shadow: 0 10px 25px rgba(184, 230, 184, 0.2);
}

.category-card:nth-child(3):hover {
    border-color: var(--light-peach-orange);
    box-shadow: 0 10px 25px rgba(255, 203, 164, 0.2);
}

.category-card:nth-child(4):hover {
    border-color: var(--gentle-lavender-purple);
    box-shadow: 0 10px 25px rgba(221, 160, 221, 0.2);
}

.category-card:nth-child(5):hover {
    border-color: var(--light-sky-blue);
    box-shadow: 0 10px 25px rgba(135, 206, 235, 0.2);
}

.category-card:nth-child(6):hover {
    border-color: var(--text-dark);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}

/* Age-based recommendation popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.age-popup .popup-content {
    max-width: 500px;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.age-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-card:hover {
    border-color: var(--light-sky-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.2);
}

.age-icon {
    font-size: 30px;
    color: var(--light-sky-blue);
    margin-bottom: 10px;
    display: block;
}

.age-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 767.98px) {
    .popup-content {
        padding: 25px 20px;
        margin: 20px;
        border-radius: 15px;
    }

    .popup-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }

    .category-card {
        padding: 20px 10px;
    }

    .category-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .category-name {
        font-size: 14px;
    }

    .age-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .age-card {
        padding: 15px 8px;
    }

    .age-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .age-label {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .popup-content {
        padding: 20px 15px;
        margin: 15px;
    }

    .popup-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card {
        padding: 15px 8px;
    }

    .category-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .category-name {
        font-size: 13px;
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Close button for popup */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}/* Homepa
ge Product Grid Responsive */
@media (max-width: 1199.98px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        padding: 25px 0;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 160px;
    }
}

@media (max-width: 767.98px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 0;
    }
    
    .product-card {
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }
    
    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }
    
    .product-price {
        font-size: 15px;
        margin-bottom: 10px;
        font-weight: 700;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-add-cart {
        width: 100%;
        font-size: 13px;
        padding: 10px;
        border-radius: 8px;
        justify-content: center;
    }
    
    .btn-quick-view {
        width: 100%;
        min-height: 36px;
        padding: 8px;
        border-radius: 8px;
        font-size: 12px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px 0;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 13px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }
    
    .product-price {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .product-actions {
        gap: 6px;
    }
    
    .btn-add-cart {
        font-size: 12px;
        padding: 8px;
    }
    
    .btn-quick-view {
        min-height: 32px;
        padding: 6px;
        font-size: 11px;
    }
    
    .product-badge {
        top: 6px;
        left: 6px;
        padding: 3px 8px;
        font-size: 10px;
        border-radius: 8px;
    }
}

@media (max-width: 375px) {
    .product-grid {
        gap: 10px;
    }
    
    .product-image {
        height: 110px;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-title {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .product-price {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .btn-add-cart {
        font-size: 11px;
        padding: 6px;
    }
    
    .btn-quick-view {
        min-height: 28px;
        padding: 4px;
        font-size: 10px;
    }
}/* Offer 
Popup Styles */
.offer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.offer-popup-content {
    background: linear-gradient(135deg, var(--light-sky-blue), var(--pale-pastel-pink));
    border-radius: 25px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-out;
    position: relative;
}

.offer-popup-content.show {
    transform: scale(1);
    opacity: 1;
}

.offer-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.offer-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.offer-header {
    text-align: center;
    padding: 40px 30px 20px;
    color: var(--white);
    position: relative;
}

.offer-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.offer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.offer-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.offer-discount {
    background: var(--white);
    color: var(--light-sky-blue);
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 36px;
    font-weight: 700;
    margin: 20px auto;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offer-body {
    background: var(--white);
    padding: 30px;
    text-align: center;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.offer-features li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offer-features li i {
    color: var(--soft-mint-green);
    font-size: 16px;
}

.offer-code {
    background: var(--light-gray);
    border: 2px dashed var(--light-sky-blue);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
}

.offer-code-label {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.offer-code-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-sky-blue);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.copy-code-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--light-sky-blue);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    background: #5dade2;
}

.offer-timer {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.timer-label {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.timer-display {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.offer-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.offer-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-actions .btn-primary {
    background: linear-gradient(135deg, var(--light-sky-blue), #5dade2);
    border: none;
    color: var(--white);
}

.offer-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
}

.offer-actions .btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--dark-gray);
}

.offer-actions .btn-outline-secondary:hover {
    background: var(--light-gray);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .offer-popup-content {
        margin: 20px;
        border-radius: 20px;
    }
    
    .offer-header {
        padding: 30px 20px 15px;
    }
    
    .offer-title {
        font-size: 24px;
    }
    
    .offer-subtitle {
        font-size: 14px;
    }
    
    .offer-discount {
        font-size: 28px;
        padding: 12px 20px;
    }
    
    .offer-body {
        padding: 20px;
    }
    
    .offer-code-value {
        font-size: 20px;
    }
    
    .timer-display {
        font-size: 18px;
    }
    
    .offer-actions {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .offer-popup-content {
        margin: 15px;
        border-radius: 15px;
    }
    
    .offer-header {
        padding: 25px 15px 10px;
    }
    
    .offer-title {
        font-size: 20px;
    }
    
    .offer-discount {
        font-size: 24px;
        padding: 10px 15px;
    }
    
    .offer-body {
        padding: 15px;
    }
}