/* Main Content & Promo Cards */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
}

/* Promo Card Components */
.promo-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.promo-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.promo-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    /* Default, overridden by specific classes */
    width: 90%;
    max-width: 600px;
}

.promo-content.dark-text {
    color: black;
}

.promo-title {
    font-size: clamp(24px, 4vw, 42px);
    /* Responsive font size */
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.promo-text {
    font-size: clamp(14px, 2vw, 16px);
    margin-bottom: 20px;
    font-weight: 400;
}

.shop-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: transform var(--transition-speed);
    border: none;
    cursor: pointer;
}

.shop-btn.dark {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.shop-btn:hover {
    transform: scale(1.05);
}

/* Product Tag Overlay */
.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: black;
    cursor: pointer;
}

/* Trending Categories (Circles) */
.trending-section {
    text-align: center;
    padding: 20px 0;
}

.trending-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.2s;
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-circle:hover {
    transform: scale(1.1);
}

/* Magazine Section */
.magazine-section {
    background-color: #fcf4e8;
    /* Use CSS var if consistent */
    padding: 60px 20px;
    text-align: center;
}

.magazine-header h2 {
    font-size: clamp(32px, 5vw, 50px);
    margin-bottom: 10px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.magazine-card {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    height: 100%;
}

.magazine-img {
    width: 100%;
    height: 300px;
    /* Fixed height for uniformity */
    object-fit: cover;
}

.magazine-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.magazine-desc {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.read-story {
    font-size: 12px;
    text-decoration: underline;
    color: #555;
    margin-top: auto;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .promo-content {
        bottom: 30px;
        width: 100%;
        padding: 0 15px;
    }

    .cat-circle {
        width: 80px;
        height: 80px;
    }
}