/* ================================================
   RAQUETTES PRÉCONFIGURÉES — homepage section
   ================================================ */
.pg-home-presets {
    width: 100%;
    background: var(--pg-bg-light);
    padding: 0 5% 80px;
}

.pg-home-presets-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.pg-home-presets .section-header {
    padding-top: 80px;
    margin-bottom: 40px;
}

.pg-home-presets-tagline {
    font-size: 1rem;
    color: var(--pg-grey);
    text-align: center;
    margin-top: -12px;
}

/* Level badge on preset cards */
.pg-featured-card-img {
    position: relative;
}

.pg-preset-level-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: var(--pg-galaxy);
    color: var(--pg-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: 2px;
    pointer-events: none;
}

/* Empty state */
.pg-home-presets-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px 24px;
    text-align: center;
    background: var(--pg-white);
    border: 1px solid var(--pg-border-light);
    border-radius: 4px;
}

.pg-home-presets-empty p {
    font-size: 1rem;
    color: var(--pg-grey);
    max-width: 480px;
}

/* Override track within presets (wider cards — show 4 by default) */
.pg-home-presets-track .pg-featured-card {
    flex: 0 0 calc((100% - 48px) / 4);
}

/* ================================================
   FEATURED PRODUCTS SECTION
   ================================================ */
.pg-featured-section {
    display: block;
    width: 100%;
    background: var(--pg-white);
    padding: 0 5% 80px;
}

.pg-featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pg-featured-container > h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pg-dark);
    margin: 0 0 40px;
    text-align: center;
}

.pg-featured-subtitle {
    font-size: 1rem;
    color: var(--pg-grey);
    text-align: center;
    margin: -28px 0 40px;
}

.pg-featured-row {
    margin-bottom: 48px;
}

.pg-featured-row:last-of-type {
    margin-bottom: 40px;
}

.pg-featured-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pg-featured-row-header h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--pg-dark);
    margin: 0;
}

.pg-featured-cat-icon {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--pg-dark);
}

.pg-featured-row-header h3 a {
    color: inherit;
    text-decoration: none;
}

.pg-featured-row-header h3 a:hover {
    color: var(--pg-galaxy);
}

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

.pg-featured-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--pg-dark);
    border-radius: 50%;
    background: transparent;
    color: var(--pg-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.pg-featured-btn:hover {
    background: var(--pg-dark);
    color: var(--pg-white);
}

.pg-featured-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.pg-featured-track-wrapper {
    overflow: hidden;
    position: relative;
}

.pg-featured-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.pg-featured-card {
    flex: 0 0 calc((100% - 64px) / 5);
    min-width: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    transition: transform 0.2s ease;
}

.pg-featured-card:hover {
    transform: translateY(-2px);
}

.pg-featured-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pg-featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pg-featured-card:hover .pg-featured-card-img img {
    transform: scale(1.05);
}

.pg-featured-card-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pg-featured-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--pg-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-featured-card-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-grey);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-featured-card-price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--pg-grey-light);
    text-decoration: line-through;
}

.pg-featured-card-price ins {
    text-decoration: none;
    color: var(--pg-grey);
}
.pg-featured-card-price.is-unavailable {
    color: var(--pg-grey-light);
}
.pg-featured-card-stock {
    color: var(--pg-stock-out-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.pg-featured-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 500;
    color: var(--pg-galaxy);
    text-decoration: none;
    transition: color 0.2s ease;
    width: fit-content;
}

.pg-featured-section .pg-featured-container {
    display: flex;
    flex-direction: column;
}

.pg-featured-see-all:hover {
    color: var(--pg-galaxy-hover);
}
