/* ==========================================================================
   Homepage Sections Manager — Public Styles
   ========================================================================== */

/* --- Category Carousel --- */
.hsm-category-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    scrollbar-width: thin;
}

.hsm-category-carousel::-webkit-scrollbar {
    height: 6px;
}

.hsm-category-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.hsm-carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.hsm-carousel-item:hover {
    transform: translateY(-4px);
}

.hsm-carousel-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eee;
    margin-bottom: 8px;
}

.hsm-carousel-item .hsm-carousel-title {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

/* --- Magazine Section --- */
.hsm-magazine {
    padding: 40px 0;
    text-align: center;
}

.hsm-magazine-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.hsm-magazine-strip img {
    height: 200px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
}

.hsm-magazine .hsm-magazine-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.hsm-magazine .hsm-magazine-btn:hover {
    background: #555;
}

.hsm-magazine-strip video.hsm-magazine-video {
    height: 200px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* --- Review Product Name --- */
.hsm-review-author {
    display: flex;
    flex-direction: column;
}

.hsm-review-product-name {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* --- Shayari / Poetry --- */
.hsm-shayari-section {
    padding: 40px 20px;
}

.hsm-shayari-block {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 24px;
    border-left: 3px solid #d4a574;
    background: #faf9f6;
    border-radius: 0 8px 8px 0;
}

.hsm-shayari-block h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.hsm-shayari-block .hsm-shayari-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    white-space: pre-line;
}

/* --- Reviews --- */
.hsm-reviews-section {
    padding: 40px 0;
}

.hsm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.hsm-review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hsm-review-card .hsm-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hsm-review-card .hsm-review-product-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.hsm-review-card .hsm-review-name {
    font-weight: 700;
    font-size: 15px;
}

.hsm-review-stars {
    color: #ffb900;
    font-size: 16px;
    margin-bottom: 8px;
}

.hsm-review-card .hsm-review-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* --- Trust & Quality --- */
.hsm-trust-section {
    padding: 40px 0;
}

.hsm-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.hsm-trust-item {
    text-align: center;
    padding: 24px 16px;
    background: #faf9f6;
    border-radius: 10px;
}

.hsm-trust-item .hsm-trust-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: #2271b1;
}

.hsm-trust-item .hsm-trust-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.hsm-trust-item h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.hsm-trust-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* --- Perfect Gift --- */
.hsm-perfect-gift-section {
    padding: 40px 0;
}

.hsm-perfect-gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.hsm-gift-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.2s;
}

.hsm-gift-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hsm-gift-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hsm-gift-card .hsm-gift-content {
    padding: 16px;
}

.hsm-gift-card .hsm-gift-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 12px;
}

.hsm-gift-card .hsm-gift-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.hsm-gift-card .hsm-gift-btn:hover {
    background: #555;
}
