/* ============================================
 * UNIQUE HOMEPAGE PRODUCT LAYOUTS
 * Editorial Spotlight, Carousel, List View, etc.
 * ============================================ */

/* ============================================
 * EDITORIAL SPOTLIGHT SECTION
 * ============================================ */
.editorial-spotlight-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.editorial-header {
    text-align: center;
    margin-bottom: 50px;
}

.editorial-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.editorial-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editorial-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Hero Product Card */
.editorial-hero {
    position: relative;
}

.hero-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.hero-product-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.hero-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-product-card:hover .hero-product-image img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: #ff6b6b;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

.hero-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-product-card:hover .hero-overlay {
    opacity: 1;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: white;
    color: #333;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

.hero-product-info {
    padding: 30px;
}

.hero-category {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #666;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.hero-product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-product-desc {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-product-price {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.hero-price-old {
    font-size: 1.2rem;
    color: #adb5bd;
    text-decoration: line-through;
}

/* Editorial Grid */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.grid-product-card.placeholder {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed #dee2e6;
}

.placeholder-content {
    text-align: center;
    color: #adb5bd;
}

.placeholder-content i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.grid-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.grid-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-product-card:hover .grid-product-image img {
    transform: scale(1.1);
}

.grid-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: #ff6b6b;
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.grid-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.grid-hover {
    position: absolute;
    inset: 0;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-product-card:hover .grid-hover {
    opacity: 1;
}

.grid-view-btn {
    padding: 10px 24px;
    background: white;
    color: #667eea;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.grid-product-info {
    padding: 18px;
}

.grid-product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.grid-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.editorial-footer {
    text-align: center;
}

.editorial-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.editorial-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ============================================
 * NEW ARRIVALS - HORIZONTAL CAROUSEL
 * ============================================ */
.new-arrivals-section {
    padding: 80px 0;
    background: white;
}

.na-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.na-header-left {
    flex: 1;
}

.na-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.na-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.na-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

.na-nav {
    display: flex;
    gap: 10px;
}

.na-nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.na-nav-btn:hover {
    background: #11998e;
    border-color: #11998e;
    color: white;
    transform: scale(1.1);
}

.na-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.na-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
}

.na-carousel::-webkit-scrollbar {
    display: none;
}

.na-card {
    flex: 0 0 280px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.na-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: white;
}

.na-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.na-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.na-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.na-card:hover .na-card-image img {
    transform: scale(1.08);
}

.na-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: #11998e;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.na-badge.new {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.na-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.na-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #11998e;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.na-card:hover .na-quick-view {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.na-card-info {
    padding: 20px;
}

.na-category {
    font-size: 0.75rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.na-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.na-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.na-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #11998e;
}

.na-old {
    font-size: 1rem;
    color: #adb5bd;
    text-decoration: line-through;
}

.na-footer {
    text-align: center;
}

.na-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    color: #11998e;
    border: 2px solid #11998e;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.na-view-all:hover {
    background: #11998e;
    color: white;
}

/* ============================================
 * BEST SELLERS - LIST VIEW
 * ============================================ */
.best-sellers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.bs-header {
    text-align: center;
    margin-bottom: 50px;
}

.bs-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.bs-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bs-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.bs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bs-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bs-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.bs-rank {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
    text-align: center;
}

.bs-link {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.bs-image {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.bs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bs-item:hover .bs-image img {
    transform: scale(1.1);
}

.bs-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: #ff6b6b;
    color: white;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

.bs-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.bs-info {
    flex: 1;
}

.bs-category {
    font-size: 0.75rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bs-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bs-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.bs-rating,
.bs-sold {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #6c757d;
}

.bs-rating i,
.bs-sold i {
    color: #f093fb;
}

.bs-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bs-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f5576c;
}

.bs-old {
    font-size: 1.1rem;
    color: #adb5bd;
    text-decoration: line-through;
}

.bs-footer {
    text-align: center;
    margin-top: 40px;
}

.bs-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bs-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

/* ============================================
 * CATEGORY MASONRY LAYOUT (Fashion)
 * ============================================ */
.category-masonry-section {
    padding: 80px 0;
    background: white;
}

.cm-header {
    text-align: center;
    margin-bottom: 50px;
}

.cm-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cm-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cm-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.cm-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: 40px;
}

.cm-item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.cm-item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.cm-item-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.cm-item-4 {
    grid-column: span 2;
    grid-row: span 1;
}

.cm-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.cm-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.cm-image {
    position: relative;
    height: 100%;
}

.cm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cm-item:hover .cm-image img {
    transform: scale(1.1);
}

.cm-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    background: #ff6b6b;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.cm-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.cm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 107, 107, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cm-item:hover .cm-overlay {
    opacity: 1;
}

.cm-view {
    padding: 12px 28px;
    background: white;
    color: #ff6b6b;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.cm-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    z-index: 1;
}

.cm-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cm-price {
    font-size: 1.4rem;
    font-weight: 700;
}

.cm-footer {
    text-align: center;
}

.cm-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cm-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* ============================================
 * CATEGORY HORIZONTAL CARDS LAYOUT (Electronics)
 * ============================================ */
.category-horizontal-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.ch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.ch-header-left {
    flex: 1;
}

.ch-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ch-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ch-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

.ch-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ch-see-all:hover {
    background: #667eea;
    color: white;
}

.ch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ch-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.ch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.ch-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ch-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.ch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ch-card:hover .ch-image img {
    transform: scale(1.08);
}

.ch-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: #667eea;
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.ch-badge.sale {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.ch-info {
    padding: 20px;
}

.ch-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ch-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ch-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.ch-old {
    font-size: 1rem;
    color: #adb5bd;
    text-decoration: line-through;
}

/* ============================================
 * CATEGORY MINIMAL LIST LAYOUT (Skin Care)
 * ============================================ */
.category-minimal-section {
    padding: 80px 0;
    background: white;
}

.cmin-header {
    text-align: center;
    margin-bottom: 50px;
}

.cmin-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8b0 100%);
    color: #2d5a47;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cmin-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d5a47;
}

.cmin-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.cmin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.cmin-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cmin-item:hover {
    border-color: #88d8b0;
    background: #f8fff9;
    transform: translateX(10px);
}

.cmin-link {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.cmin-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.cmin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmin-info {
    flex: 1;
}

.cmin-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cmin-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #88d8b0;
}

.cmin-footer {
    text-align: center;
    margin-top: 40px;
}

.cmin-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8b0 100%);
    color: #2d5a47;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cmin-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(136, 216, 176, 0.4);
}

/* ============================================
 * CATEGORY COMPACT GRID LAYOUT (Gym Wear)
 * ============================================ */
.category-compact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.cc-header {
    text-align: center;
    margin-bottom: 50px;
}

.cc-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cc-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.cc-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cc-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.cc-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.cc-link {
    text-decoration: none;
    color: white;
    display: block;
}

.cc-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.cc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cc-card:hover .cc-image img {
    transform: scale(1.1);
}

.cc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: #f39c12;
    color: white;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.cc-info {
    padding: 18px;
}

.cc-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cc-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f39c12;
}

.cc-footer {
    text-align: center;
}

.cc-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cc-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
}

/* ============================================
 * CATEGORY ROUNDED CARDS LAYOUT (Makeup)
 * ============================================ */
.category-rounded-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.cr-header {
    text-align: center;
    margin-bottom: 50px;
}

.cr-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    color: #e17055;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.2);
}

.cr-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e17055;
}

.cr-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.cr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.cr-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.15);
    transition: all 0.4s ease;
}

.cr-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(225, 112, 85, 0.25);
}

.cr-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cr-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.cr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cr-card:hover .cr-image img {
    transform: scale(1.1);
}

.cr-quick {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e17055;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.cr-card:hover .cr-quick {
    opacity: 1;
    transform: scale(1);
}

.cr-info {
    padding: 22px;
    text-align: center;
}

.cr-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
}

.cr-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e17055;
}

.cr-footer {
    text-align: center;
}

.cr-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: #e17055;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.2);
    transition: all 0.3s ease;
}

.cr-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 112, 85, 0.3);
}

/* ============================================
 * RESPONSIVE DESIGN
 * ============================================ */
@media (max-width: 992px) {
    .editorial-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .editorial-grid {
        order: 1 !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .editorial-hero {
        order: 2 !important;
        width: 100%;
    }

    .hero-product-card {
        width: 100%;
    }
    
    .na-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .bs-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bs-rank {
        font-size: 2rem;
    }
    
    .bs-link {
        flex-direction: column;
    }
    
    .cm-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .cm-item-1,
    .cm-item-2,
    .cm-item-3,
    .cm-item-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .ch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .editorial-spotlight-section,
    .new-arrivals-section,
    .best-sellers-section,
    .category-masonry-section,
    .category-horizontal-section,
    .category-minimal-section,
    .category-compact-section,
    .category-rounded-section {
        padding: 50px 0;
    }
    
    .editorial-title,
    .bs-title,
    .cm-title,
    .ch-title,
    .cmin-title,
    .cc-title,
    .cr-title {
        font-size: 1.8rem;
    }
    
    .na-title {
        font-size: 1.6rem;
    }
    
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    /* Reverse order: grid on top, hero below */
    .editorial-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .editorial-grid {
        order: 1 !important;
    }

    .editorial-hero {
        order: 2 !important;
    }
    
    .na-card {
        flex: 0 0 240px;
    }
    
    .hero-product-name {
        font-size: 1.4rem;
    }

    .hero-product-desc {
        font-size: 0.95rem;
    }

    /* Smaller hero image aspect ratio for mobile */
    .hero-product-image {
        height: 200px !important;
        width: 100% !important;
    }

    /* Hero overlay with View All button */
    .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-cta {
        background: #fff;
        color: #333;
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    
    .ch-grid,
    .cc-grid,
    .cr-grid {
        grid-template-columns: 1fr;
    }
    
    .cm-masonry {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .na-card {
        flex: 0 0 200px;
    }

    .hero-product-image {
        height: 180px !important;
        width: 100% !important;
    }

    /* Hero overlay with View All button */
    .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-cta {
        background: #fff;
        color: #333;
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .bs-image {
        width: 100px;
        height: 100px;
    }

    .cmin-item {
        flex-direction: column;
        text-align: center;
    }

    .cmin-link {
        flex-direction: column;
    }

    .cmin-image {
        width: 60px;
        height: 60px;
    }

    /* Ensure 2x2 grid at this breakpoint too */
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .editorial-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .editorial-grid {
        order: 1 !important;
    }

    .editorial-hero {
        order: 2 !important;
    }
}
