/**
 * Homepage Series Section Styles
 *
 * Mobile-first styles shared across all product series sections
 * (DryRun, Sunbrella Men's/Women's, Sunwashed Men's/Women's).
 * Includes collection header, product rows, product cards, and actions.
 */

/* ==========================================================================
   SERIES SECTION WRAPPER
   ========================================================================== */

.product-wall-section {
    background: var(--white);
    padding: 50px 20px;
    position: relative;
}

@media (min-width: 768px) {
    .product-wall-section {
        padding: 60px 40px;
    }
}

@media (min-width: 1280px) {
    .product-wall-section {
        padding: 70px 60px;
    }
}

/* Alternate background for visual separation */
.product-wall-section:nth-child(even) {
    background: var(--sky-pale);
}

/* ==========================================================================
   COLLECTION HEADER
   ========================================================================== */

.collection-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--sky-light);
}

@media (min-width: 768px) {
    .collection-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
        padding-bottom: 24px;
    }
}

.collection-header__content {
    flex: 1;
}

.collection-header__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .collection-header__title {
        font-size: 28px;
        margin-bottom: 8px;
    }
}

@media (min-width: 1024px) {
    .collection-header__title {
        font-size: 30px;
    }
}

.collection-header__tagline {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .collection-header__tagline {
        font-size: 15px;
    }
}

.collection-header__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 768px) {
    .collection-header__features {
        gap: 10px;
    }
}

/* ==========================================================================
   PRODUCT ROW
   ========================================================================== */

.product-row {
    margin-bottom: 36px;
}

.product-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .product-row {
        margin-bottom: 44px;
    }
}

/* Row label with trailing line */
.product-row__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-row__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--sky-light) 0%, transparent 100%);
}

@media (min-width: 768px) {
    .product-row__label {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .product-grid {
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

/* 4-column variant for canvas series with many products */
@media (min-width: 1280px) {
    .product-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   PRODUCT CARD (wall-product)
   ========================================================================== */

.wall-product {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--sky-light);
}

.wall-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--ocean-pale);
}

/* Product image area */
.wall-product__image {
    position: relative;
    overflow: hidden;
}

.wall-product__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Placeholder tile when no image exists */
.wall-product__placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, var(--sky-pale) 0%, var(--sky-light) 100%);
    border-bottom: 1px solid var(--sky-light);
    position: relative;
}

/* Color indicator stripe at top */
.wall-product__placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%);
}

.wall-product__placeholder-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 0 12px;
}

/* ==========================================================================
   QUICK ACTIONS (button stack)
   ========================================================================== */

.wall-product__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--sky-pale);
}

@media (min-width: 768px) {
    .wall-product__actions {
        gap: 8px;
        padding: 16px;
    }
}

.wall-product__actions .quick-btn {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .wall-product__actions .quick-btn {
        padding: 12px 16px;
        font-size: 12px;
        min-height: 42px;
    }
}

/* View Product — ocean gradient */
.quick-btn--view {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(27, 107, 147, 0.25);
}

.quick-btn--view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 107, 147, 0.35);
    color: var(--white);
}

/* Add to Cart — purple gradient */
.quick-btn--cart {
    background: linear-gradient(135deg, var(--dureva-purple) 0%, var(--dureva-magenta) 100%);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(123, 63, 158, 0.25);
}

.quick-btn--cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 63, 158, 0.35);
    color: var(--white);
}

/* ==========================================================================
   PRODUCT INFO FOOTER
   ========================================================================== */

.wall-product__info {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-top: 1px solid var(--sky-light);
}

@media (min-width: 768px) {
    .wall-product__info {
        padding: 16px 18px;
    }
}

.wall-product__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .wall-product__name {
        font-size: 14px;
    }
}

.wall-product__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ocean-deep);
}

@media (min-width: 768px) {
    .wall-product__price {
        font-size: 15px;
    }
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.series-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-medium);
    font-size: 15px;
}
