/* =========================================================
 * Luxe Minimal - Product List Page (product_list.css)
 * YES Exosome 全部商品列表頁專屬樣式
 * ========================================================= */

/* ---------- Filter Bar (Sticky) ---------- */
.pl-filter-bar
{
    position: sticky;
    top: 64px;
    z-index: 40;
    background: #ffffff;
    border-top: 1px solid var(--brand-lighter);
    border-bottom: 1px solid var(--brand-lighter);
}

@media (min-width: 768px)
{
    .pl-filter-bar
    {
        top: 80px;
    }
}

.pl-filter-bar-inner
{
    max-width: var(--max-w-7xl);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pl-filter-tabs
{
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.pl-filter-tabs::-webkit-scrollbar
{
    display: none;
}

.pl-tab
{
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
    background: transparent;
    border-radius: 2px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.pl-tab:hover
{
    background: var(--brand-lighter);
}

.pl-tab.active
{
    background: var(--ink);
    color: #ffffff;
}

.pl-filter-count
{
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0;
    flex-shrink: 0;
}

/* ---------- Grid Section ---------- */
.pl-grid-section
{
    padding: 40px 0;
    background: #ffffff;
}

@media (min-width: 768px)
{
    .pl-grid-section
    {
        padding: 64px 0;
    }
}

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

@media (min-width: 768px)
{
    .pl-grid
    {
        grid-template-columns: repeat(3, 1fr);
        gap: 56px 32px;
    }
}

/* ---------- Product Card ---------- */
.pl-card
{
    display: block;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.pl-card-image
{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--surface-warm);
    overflow: hidden;
    margin-bottom: 14px;
}

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

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

.pl-card-body
{
    text-align: left;
}

.pl-card-eyebrow
{
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-darker);
    font-weight: 500;
    margin: 0 0 6px 0;
}

.pl-card-title
{
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    margin: 0 0 6px 0;
    transition: color 0.2s ease;
}

@media (min-width: 768px)
{
    .pl-card-title
    {
        font-size: 15px;
    }
}

.pl-card:hover .pl-card-title
{
    color: var(--brand-dark);
}

.pl-card-spec
{
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0 0 8px 0;
}

.pl-card-price
{
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.pl-card-price-original
{
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: line-through;
}

/* ---------- Sold Out Badge ---------- */
.pl-card-badge
{
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26, 26, 26, 0.85);
    color: #ffffff;
    padding: 5px 10px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
}

.pl-card-soldout .pl-card-image img
{
    opacity: 0.6;
}

.pl-card-soldout .pl-card-title
{
    color: var(--ink-muted);
}

/* ---------- Empty State ---------- */
.pl-empty
{
    text-align: center;
    padding: 60px 20px;
}

.pl-empty-icon
{
    color: var(--ink-muted);
    margin-bottom: 18px;
    display: inline-flex;
}

.pl-empty-icon svg
{
    width: 64px;
    height: 64px;
}

.pl-empty h3
{
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 10px 0;
}

.pl-empty p
{
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0 0 24px 0;
}

/* ---------- Fade-in Animation ---------- */
.fade-in
{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible
{
    opacity: 1;
    transform: translateY(0);
}

/* ---------- LINE Floating Button (sync with index.css) ---------- */
.line-float-btn
{
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 18px;
    background: #06c755;
    color: #ffffff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.line-float-btn:hover
{
    background: #05a648;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(6, 199, 85, 0.4);
}

.line-float-btn .line-label
{
    display: inline;
}

.line-float-btn .line-icon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.line-float-btn .line-icon svg
{
    width: 100%;
    height: 100%;
    fill: currentColor;
}
