/* =============================================
   HJ Theme — Home Page Styles
   ============================================= */

.hj-main {
    overflow-x: hidden;
}

/* ── HERO ── */
.hj-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background-color: #fce4ec;
}

/* Background image layer */
.hj-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Soft overlay — sits on top of the bg image */
.hj-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(255, 240, 248, 0.6) 0%,
        rgba(252, 228, 236, 0.35) 50%,
        rgba(255, 230, 240, 0.08) 100%
    );
    z-index: 1;
}

.hj-hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 4rem 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.hj-hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.hj-hero-tagline {
    font-size: 15px;
    color: #e8547a;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hj-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #2d1b2e;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hj-hero-title span {
    color: #e8547a;
}

.hj-hero-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 380px;
}

.hj-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 32px;
    background: #e8547a;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.15s;
    box-shadow: 0 6px 20px rgba(232, 84, 122, 0.35);
}
.hj-hero-btn:hover {
    background: #c73d62;
    transform: translateY(-2px);
}

.hj-hero-badge {
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}
.hj-badge-circle {
    width: 110px;
    height: 110px;
    background: #e8547a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(232, 84, 122, 0.4);
}
.hj-badge-circle span:first-child {
    font-size: 18px;
    font-weight: 900;
}

/* ── Hero Image — floating card style ── */
.hj-hero-image {
    flex-shrink: 0;
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Decorative glow blob behind the cake */
.hj-hero-image::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(232, 84, 122, 0.18) 0%,
        rgba(252, 228, 236, 0.1) 70%,
        transparent 100%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hj-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 430px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(232, 84, 122, 0.22))
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    animation: hj-float 4s ease-in-out infinite;
}

@keyframes hj-float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hj-hero-placeholder {
    font-size: 80px;
    text-align: center;
    line-height: 1.2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.hj-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 3;
}
.hj-hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ── CATEGORIES ── */
.hj-categories-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #f9e0ea;
}
.hj-categories-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.hj-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border-radius: 16px;
    border: 1px solid #f5e6ec;
    background: #fff;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
    cursor: pointer;
}
.hj-cat-item:hover {
    box-shadow: 0 6px 20px rgba(232, 84, 122, 0.12);
    transform: translateY(-3px);
}
.hj-cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
    border: 2px solid #fce4ec;
}
.hj-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d1b2e;
    margin-bottom: 6px;
    line-height: 1.3;
}
.hj-cat-link {
    font-size: 12px;
    color: #e8547a;
    text-decoration: none;
    font-weight: 600;
}
.hj-cat-link:hover {
    text-decoration: underline;
}

/* ── SHARED ── */
.hj-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
}
.hj-container--col {
    flex-direction: column;
}

/* Section headers */
.hj-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    flex-wrap: wrap;
}
.hj-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #2d1b2e;
}
.hj-section-title span {
    color: #e8547a;
}
.hj-heart {
    font-size: 16px;
}
.hj-view-all {
    position: absolute;
    right: 0;
    font-size: 13px;
    color: #e8547a;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid #e8547a;
    padding: 5px 14px;
    border-radius: 20px;
    transition: background 0.2s;
}
.hj-view-all:hover {
    background: #e8547a;
    color: #fff;
}

.hj-section-header-left {
    margin-bottom: 24px;
}
.hj-section-header-left .hj-section-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.hj-section-sub {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
}

/* ── BEST SELLERS ── */
.hj-bestsellers-section {
    padding: 50px 0;
    background: #fff;
}
.hj-bestsellers-section .hj-container {
    flex-direction: column;
}

/* ── FEATURES STRIP ── */
.hj-features-section {
    background: #fff;
    padding: 32px 0;
    border-top: 1px solid #f9e0ea;
    border-bottom: 1px solid #f9e0ea;
}
.hj-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
.hj-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff8fa;
    border-radius: 14px;
    border: 1px solid #fce4ec;
}
.hj-feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.hj-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d1b2e;
    margin-bottom: 4px;
}
.hj-feature-sub {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ── PRODUCT SECTIONS ── */
.hj-products-section {
    padding: 50px 0;
}
.hj-bg-pink {
    background: #fff8fa;
}

/* ── COMBO BANNER ── */
.hj-combo-banner-section {
    padding: 50px 0;
}
.hj-combo-banner {
    background: linear-gradient(135deg, #fce4ec 0%, #fff0f5 50%, #fce4ec 100%);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(232, 84, 122, 0.2);
}
.hj-combo-banner::before {
    content: '🎂🍦🎉';
    position: absolute;
    right: 160px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.3;
}
.hj-combo-label {
    font-size: 22px;
    color: #e8547a;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 8px;
}
.hj-combo-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #2d1b2e;
    margin-bottom: 6px;
}
.hj-combo-sub {
    font-size: 16px;
    color: #e8547a;
    font-weight: 600;
    margin-bottom: 20px;
}
.hj-combo-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: #e8547a;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.hj-combo-btn:hover {
    background: #c73d62;
}
.hj-combo-badge-wrap {
    flex-shrink: 0;
    z-index: 2;
}
.hj-combo-badge {
    width: 100px;
    height: 100px;
    background: #e8547a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(232, 84, 122, 0.4);
}
.hj-combo-pct {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hj-hero-inner {
        padding: 50px 2.5rem 70px;
    }
    .hj-categories-inner {
        padding: 0 2.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
    .hj-container {
        padding: 0 2.5rem;
    }
    .hj-hero-image {
        width: 320px;
    }
}
@media (max-width: 768px) {
    .hj-hero-inner {
        padding: 40px 1.75rem 60px;
        flex-wrap: wrap;
    }
    .hj-hero-image {
        width: 100%;
        order: -1;
        text-align: center;
    }
    .hj-hero-image img {
        max-height: 280px;
    }
    .hj-hero-image::before {
        width: 260px;
        height: 260px;
    }
    .hj-hero-badge {
        order: 2;
    }
    .hj-categories-inner {
        padding: 0 1.75rem;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .hj-container {
        padding: 0 1.75rem;
    }
    .hj-features-grid {
        grid-template-columns: 1fr;
    }
    .hj-combo-banner {
        padding: 28px 24px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hj-combo-banner::before {
        display: none;
    }
    .hj-view-all {
        position: static;
        margin-left: auto;
    }
    .hj-section-header {
        justify-content: space-between;
    }
}
@media (max-width: 480px) {
    .hj-hero-inner {
        padding: 30px 1rem 50px;
    }
    .hj-categories-inner {
        padding: 0 1rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .hj-container {
        padding: 0 1rem;
    }
    .hj-bestsellers-section,
    .hj-products-section,
    .hj-combo-banner-section {
        padding: 32px 0;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hj-hero-image img {
        animation: none;
    }
}
