/* ==========================================================================
   GIFT PACKS PAGE STYLES
   ========================================================================== */

/* --- Hero Section --- */
.gift-hero {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fffcf9 0%, #f7e8da 100%);
    border-radius: 20px;
    margin-top: 20px;
    padding: 60px;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
}
.gift-hero-content {
    flex: 0 0 60%;
}
.gift-hero-image {
    display: none;
}

/* --- Features Bar --- */
.features-bar-container {
    margin-top: 30px;
    margin-bottom: 40px;
}
.features-bar {
    display: flex;
    justify-content: space-between;
    background: white;
    border: 1px solid #fae6cb;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.05);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-item i {
    width: 24px;
    height: 24px;
    color: #e85d04;
}
.feature-item h4 {
    font-size: 13px;
    font-weight: 800;
    color: #4a2f1d;
    margin-bottom: 2px;
}
.feature-item p {
    font-size: 11px;
    color: #888;
}

/* --- Category Carousel (Square) --- */
.subcategories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
}
.subcategories-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #4a2f1d;
}
.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #e85d04;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.view-all-link i {
    width: 14px;
    height: 14px;
}
.square-scroll {
    gap: 16px;
    padding-bottom: 20px;
}
.subcategory-item-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #4a2f1d;
    font-weight: 600;
    font-size: 12px;
    min-width: 130px;
    transition: all 0.2s;
}
.subcategory-img-wrapper {
    width: 130px;
    height: 110px;
    background: #fdfbf9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    transition: all 0.2s;
    overflow: hidden;
    padding: 16px;
}
.subcategory-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.subcategory-item-square:hover .subcategory-img-wrapper {
    border-color: #fae6cb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}

/* --- Specific Gift Pack Badges --- */
.badge-premium {
    background: #fbbf24;
    color: #4a2f1d;
}
.badge-purple {
    background: #8b5cf6;
    color: white;
}
.product-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* --- Gift Image Wrapper Fixes --- */
.gift-img-wrapper {
    height: 150px;
    padding: 10px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Hero Section */
    .gift-hero {
        flex-direction: column;
        padding: 40px 24px;
        gap: 30px;
    }
    .gift-hero-image img {
        max-height: 300px;
    }

    /* Features Bar */
    .features-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 20px;
    }
    .feature-item {
        min-width: calc(50% - 8px);
    }

    /* Category Carousel */
    .subcategories-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .subcategory-item-square {
        min-width: 110px;
        font-size: 11px;
    }
    .subcategory-img-wrapper {
        width: 110px;
        height: 95px;
        padding: 12px;
    }

    /* Layout */
    .category-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sidebar Filters */
    .filters-sidebar {
        display: none !important;
    }

    /* Category Header */
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .category-header h2 {
        font-size: 24px;
    }
    .sort-by {
        width: 100%;
        justify-content: space-between;
    }
    .sort-by select {
        flex: 1;
    }

    /* Products Grid */
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .product-card {
        padding: 14px;
    }
    .gift-img-wrapper {
        height: 140px;
    }
    .product-title {
        font-size: 14px;
    }
    .product-weight {
        font-size: 12px;
    }
    .product-desc {
        font-size: 11px;
    }
    .product-price {
        font-size: 16px;
    }
    .btn-add-cart {
        font-size: 12px;
        padding: 8px;
    }

    /* Banners */
    .banners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .promo-banner {
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .banner-icon {
        position: static;
        margin-top: 16px;
    }
    .banner-icon img {
        height: 100px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    /* Hero Section */
    .gift-hero {
        padding: 30px 16px;
        border-radius: 16px;
    }
    .gift-hero-image img {
        max-height: 250px;
    }

    /* Features Bar */
    .features-bar {
        padding: 16px;
        gap: 12px;
    }
    .feature-item {
        min-width: 100%;
        gap: 10px;
    }
    .feature-item i {
        width: 20px;
        height: 20px;
    }
    .feature-item h4 {
        font-size: 12px;
    }
    .feature-item p {
        font-size: 10px;
    }

    /* Category Carousel */
    .subcategories-header h3 {
        font-size: 18px;
    }
    .subcategory-item-square {
        min-width: 95px;
        font-size: 10px;
    }
    .subcategory-img-wrapper {
        width: 95px;
        height: 85px;
        padding: 10px;
    }
    .scroll-right-btn {
        width: 36px;
        height: 36px;
    }

    /* Sidebar Filters */
    .filters-sidebar {
        display: none !important;
    }
    .filter-group {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
    .filter-header h4 {
        font-size: 13px;
    }
    .custom-radio, .custom-checkbox {
        font-size: 13px;
        padding-left: 24px;
    }

    /* Category Header */
    .category-header h2 {
        font-size: 20px;
    }
    .category-header p {
        font-size: 13px;
    }
    .sort-by {
        font-size: 13px;
    }
    .sort-by select {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Products Grid */
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card {
        padding: 12px;
    }
    .gift-img-wrapper {
        height: 120px;
    }
    .product-title {
        font-size: 15px;
    }
    .product-weight {
        font-size: 13px;
    }
    .product-desc {
        font-size: 12px;
    }
    .product-price {
        font-size: 17px;
    }
    .badge {
        font-size: 9px;
        padding: 3px 8px;
        top: 12px;
        left: 12px;
    }

    /* Pagination */
    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    /* Banners */
    .promo-banner {
        padding: 24px 20px;
    }
    .banner-content h3 {
        font-size: 18px;
    }
    .banner-content p {
        font-size: 13px;
    }
    .banner-icon img {
        height: 80px;
    }
    .btn-outline-pink, .btn-clear {
        font-size: 13px;
        padding: 8px 16px;
    }

    /* Bottom Banner with Trust Features */
    .promo-banner[style*="display:flex"] {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
    }
    .promo-banner[style*="display:flex"] .banner-content {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .promo-banner[style*="display:flex"] > div:nth-child(2) {
        margin-bottom: 20px;
    }
    .promo-banner[style*="display:flex"] > div:nth-child(3) {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .trust-feat {
        width: 100%;
    }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
    /* Hero Section */
    .gift-hero {
        padding: 24px 12px;
    }
    .gift-hero-image img {
        max-height: 200px;
    }

    /* Features Bar */
    .features-bar {
        padding: 12px;
    }
    .feature-item h4 {
        font-size: 11px;
    }
    .feature-item p {
        font-size: 9px;
    }

    /* Category Carousel */
    .subcategory-item-square {
        min-width: 85px;
        font-size: 9px;
    }
    .subcategory-img-wrapper {
        width: 85px;
        height: 75px;
        padding: 8px;
    }

    /* Products Grid */
    .product-card {
        padding: 10px;
    }
    .gift-img-wrapper {
        height: 100px;
    }
    .product-title {
        font-size: 14px;
    }
    .btn-add-cart {
        font-size: 11px;
        padding: 8px;
    }

    /* Banners */
    .promo-banner {
        padding: 20px 16px;
    }
    .banner-content h3 {
        font-size: 16px;
    }
    .banner-content p {
        font-size: 12px;
    }
    .btn-outline-pink, .btn-clear {
        font-size: 12px;
        padding: 8px 12px;
    }
}
