/* Página de produto — layout referência Sagrada Devoção */

.product-landing {
    --pl-bg: #F9F6F1;
    --pl-wine: #500327;
    --pl-wine-dark: #3d021d;
    --pl-green: #4DB62F;
    --pl-green-dark: #0D8A5B;
    --pl-green-bg: #EFFFF6;
    --pl-green-border: #D1F7E9;
    --pl-text: #262626;
    --pl-muted: #6B5B55;
    background: var(--pl-bg);
    color: var(--pl-text);
    padding-bottom: 5.5rem;
}

.product-landing .pl-container {
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .product-landing .pl-container {
        max-width: 72rem;
    }
    .product-landing {
        padding-bottom: 2rem;
    }
}

/* Galeria */
.pl-gallery-main {
    background: #fff;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.pl-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-gallery-watermark {
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 1.5rem;
    opacity: 0.25;
}

.pl-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.75rem 0 0.25rem;
    scrollbar-width: none;
}

.pl-thumbs::-webkit-scrollbar { display: none; }

.pl-thumb {
    flex: 0 0 4.5rem;
    background: none;
    border: none;
    padding: 0 0 0.5rem;
    cursor: pointer;
    position: relative;
}

.pl-thumb img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 0.35rem;
    display: block;
}

.pl-thumb::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: transparent;
    border-radius: 2px;
    transition: background 0.2s;
}

.pl-thumb.is-active::after {
    background: var(--pl-text);
}

/* Info topo */
.pl-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 1.25rem 0 0.75rem;
    text-transform: uppercase;
}

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

.pl-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.pl-rating-stars { color: #FACC15; font-size: 0.875rem; }
.pl-rating-text { font-size: 0.875rem; color: #6b7280; font-weight: 500; }

.pl-qty-label {
    font-size: 1.125rem;
    color: #9ca3af;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.pl-qty-control {
    display: inline-flex;
    align-items: center;
    background: #F3F4F6;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.pl-qty-control button {
    width: 3rem;
    height: 3rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
}

.pl-qty-control input {
    width: 3.5rem;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 1.25rem;
    outline: none;
}

.pl-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    margin: 1.5rem 0;
}

.pl-price-current {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--pl-green);
    letter-spacing: -0.04em;
    line-height: 1;
}

.pl-price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.125rem;
}

.pl-badge-save {
    background: var(--pl-green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Box oferta */
.pl-offer-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pl-offer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pl-offer-thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.pl-offer-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pl-offer-label {
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.3;
}

.pl-offer-price-old {
    font-size: 0.625rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.pl-badge-free {
    background: var(--pl-green);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
}

/* CTA */
.pl-btn-buy {
    width: 100%;
    background: var(--pl-wine);
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1.15rem 1.5rem;
    border: none;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(80, 3, 39, 0.25);
    transition: filter 0.2s, transform 0.15s;
}

.pl-btn-buy:hover { filter: brightness(1.08); }
.pl-btn-buy:active { transform: scale(0.98); }

.pl-shipping {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--pl-green-bg);
    border: 1px solid var(--pl-green-border);
    border-left: 4px solid var(--pl-green-dark);
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.pl-shipping img { width: 3rem; height: auto; flex-shrink: 0; }

.pl-shipping h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pl-green-dark);
    margin: 0 0 0.25rem;
}

.pl-shipping p {
    font-size: 0.8125rem;
    color: rgba(13, 138, 91, 0.85);
    line-height: 1.45;
    margin: 0;
}

/* Promo banner */
.pl-promo-banner {
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: var(--pl-bg);
}

.pl-promo-banner p {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pl-wine);
    line-height: 1.35;
    margin: 0;
}

.pl-promo-banner strong { font-weight: 900; }

/* Specs (abas verticais) */
.pl-specs {
    background: var(--pl-bg);
    padding: 0 1rem 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.pl-spec-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e8e0d6;
}

.pl-spec-item:last-child { border-bottom: none; }

.pl-spec-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pl-wine);
    margin: 0 0 0.5rem;
}

.pl-spec-item p {
    font-size: 0.9rem;
    color: var(--pl-muted);
    line-height: 1.55;
    margin: 0;
}

/* Blocos de conteúdo */
.pl-block {
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.pl-block--white { background: #fff; }
.pl-block--cream { background: var(--pl-bg); }

.pl-block h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pl-wine);
    line-height: 1.2;
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .pl-block h2 { font-size: 2.25rem; }
}

.pl-block .pl-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.5;
    max-width: 28rem;
    margin: 0 auto 1.5rem;
}

.pl-block .pl-subtitle strong { color: var(--pl-text); font-weight: 800; }

.pl-bullets {
    text-align: left;
    max-width: 22rem;
    margin: 0 auto 1.5rem;
    list-style: none;
    padding: 0;
}

.pl-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.pl-bullets li::before {
    content: '✓';
    font-weight: 700;
    flex-shrink: 0;
}

.pl-bullets strong { font-weight: 800; color: var(--pl-text); }

.pl-block-image {
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 1.5rem auto 0;
    max-width: 28rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.pl-block-image img { width: 100%; height: auto; display: block; }

.pl-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

.pl-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
}

.pl-hero-overlay h2 {
    color: #fff;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 2.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Garantia */
.pl-guarantee-percent {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--pl-wine);
    line-height: 1;
    letter-spacing: -0.05em;
}

.pl-guarantee-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pl-wine);
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.pl-stock-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--pl-wine);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

/* FAQ accordion (referência) */
.pl-faq {
    padding: 2.5rem 1rem 3rem;
    max-width: 32rem;
    margin: 0 auto;
}

.pl-faq > h2 {
    font-family: Georgia, serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pl-wine);
    text-align: center;
    margin: 0 0 0.35rem;
}

.pl-faq > p.pl-faq-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--pl-muted);
    margin: 0 0 1.5rem;
}

.pl-faq-list {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #ebe6de;
    overflow: hidden;
}

.pl-faq-item { border-bottom: 1px solid #ebe6de; }
.pl-faq-item:last-child { border-bottom: none; }

.pl-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pl-wine);
    line-height: 1.35;
}

.pl-faq-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #f5f0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.pl-faq-item.is-open .pl-faq-icon { transform: rotate(180deg); }

.pl-faq-panel {
    display: none;
    padding: 0 1.15rem 1.15rem;
    font-size: 0.85rem;
    color: var(--pl-muted);
    line-height: 1.55;
}

.pl-faq-item.is-open .pl-faq-panel { display: block; }

/* CTA fixo mobile */
.pl-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, var(--pl-bg) 70%, transparent);
    pointer-events: none;
}

.pl-sticky-cta .pl-btn-buy { pointer-events: auto; }

@media (min-width: 768px) {
    .pl-sticky-cta { display: none; }
    .product-landing .pl-hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
        max-width: 72rem;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }
    .product-landing .pl-specs,
    .product-landing .pl-faq {
        max-width: 42rem;
    }
}

.pl-cta-wrap { padding: 1rem 0 0.5rem; max-width: 22rem; margin: 0 auto; }

.pl-custom-content { background: var(--pl-bg); }
