/* Section Styles */
:root {
    --accent-color: #d4b08c;
    --text-color: #2a2a2a;
    --text-light: #707070;
    --border-color: #e5e0d8;
}

/* Category Section */
.category-section {
    padding: 60px 0 30px 0;
    background-color: #ffffff;
}

.category-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
    font-weight: 400;
    color: var(--text-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-item {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 3/4;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 5px;
    margin-bottom: 0;
}

.category-link {
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Latest Arrivals Section */
.hff-latest-arrivals {
    padding: 80px 0;
    background-color: #fbfaf8;
}

.hff-arrivals-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.hff-section-intro {
    text-align: center;
    margin-bottom: 25px;
}

.hff-section-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.hff-section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-color);
}

.hff-section-subheading {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.hff-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Product Cards */
.hff-product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.hff-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hff-product-image-container {
    position: relative;
    overflow: hidden;
}

.hff-product-image-link {
    display: block;
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.hff-product-image {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}

.hff-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hff-product-card:hover .hff-product-image img {
    transform: scale(1.05);
}

.hff-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
}

.hff-badge-new {
    background-color: #2ecc71;
    color: white;
}

.hff-badge-sale {
    background-color: #e74c3c;
    color: white;
}

.hff-button-container {
    display: flex;
    padding: 10px;
    gap: 10px;
}

.hff-main-btn {
    flex: 1;
    padding: 12px 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hff-main-btn:hover {
    background-color: #333;
}

.hff-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hff-icon-btn:hover {
    background-color: #e6e6e6;
}

.hff-product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.hff-product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 5px;
    line-height: 1.4;
}

.hff-product-category {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hff-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.sale-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1rem;
}

.regular-price-only {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.hff-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
    color: #ffc107;
}

.rating-count {
    color: #777;
    margin-left: 5px;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-grid,
    .hff-arrivals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .category-grid,
    .hff-arrivals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hff-latest-arrivals {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 30px 0 20px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hff-latest-arrivals {
        padding: 20px 0 40px 0;
    }
    
    .hff-section-heading {
        font-size: 2.5rem;
    }
    
    .category-grid,
    .hff-arrivals-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .category-item,
    .hff-product-card {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .hff-product-image-link {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .hff-section-heading {
        font-size: 2rem;
    }
    
    .category-item,
    .hff-product-card {
        width: 48%;
    }
    
    .hff-product-image-link {
        height: 180px;
    }
    
    .hff-main-btn {
        padding: 6px 2px;
        font-size: 0.65rem;
    }
    
    .hff-icon-btn {
        width: 28px;
        height: 28px;
    }
}