.physical-product-page {
    --pp-bg: #fffaf3;
    --pp-paper: #ffffff;
    --pp-ink: #172033;
    --pp-muted: #667085;
    --pp-line: #eadcc7;
    --pp-soft: #fff5e6;
    --pp-gold: #9a6a20;
    --pp-navy: #10345c;
    --pp-navy-dark: #0b2746;
    --pp-green: #166534;
    --pp-red: #991b1b;
    --pp-shadow: 0 18px 45px rgba(16, 52, 92, .08);

    background: var(--pp-bg);
    color: var(--pp-ink);
}

/* ================================
   Layout principal
================================ */

.physical-hero {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 34px;
    display: grid;
    gap: 22px;
}

.physical-gallery {
    width: 100%;
}

.physical-back-link {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 14px;
    color: var(--pp-muted);
    font-weight: 800;
    font-size: 14px;
}

/* ================================
   Imagen del producto
   Este bloque corrige imágenes cuadradas
   con mucho espacio blanco interno.
================================ */

.physical-cover-card {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--pp-line);
    border-radius: 28px;
    padding: 0;
    box-shadow: var(--pp-shadow);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.physical-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    background: #ffffff;
    transform: scale(1.34) translateY(-7%);
    transform-origin: center center;
}

.physical-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: #ead8ba;
    color: var(--pp-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(80px, 28vw, 150px);
}

/* ================================
   Información del producto
================================ */

.physical-summary {
    min-width: 0;
}

.physical-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.physical-eyebrow {
    display: inline-flex;
    color: var(--pp-gold);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
}

.physical-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
}

.physical-stock.is-available {
    background: #ecfdf3;
    color: var(--pp-green);
}

.physical-stock.is-empty {
    background: #fef2f2;
    color: var(--pp-red);
}

.physical-summary h1 {
    margin: 0;
    color: #102a43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 9vw, 58px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.physical-subtitle {
    margin: 10px 0 0;
    color: var(--pp-gold);
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.35;
    font-weight: 750;
}

.physical-lead {
    margin: 16px 0 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
}

/* ================================
   Caja de compra
================================ */

.physical-buy-card {
    margin-top: 20px;
    padding: 18px;
    background: var(--pp-paper);
    border: 1px solid var(--pp-line);
    border-radius: 24px;
    box-shadow: var(--pp-shadow);
}

.physical-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3eadc;
}

.physical-price-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--pp-muted);
    font-size: 13px;
    font-weight: 800;
}

.physical-price-row strong {
    display: block;
    color: var(--pp-navy);
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1;
    font-weight: 950;
}

.physical-price-row small {
    margin-top: 6px;
    color: var(--pp-muted);
    font-size: 13px;
    font-weight: 850;
    text-align: right;
}

.physical-cart-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.physical-quantity-box {
    display: grid;
    gap: 8px;
}

.physical-quantity-box label {
    color: #344054;
    font-weight: 900;
}

.physical-quantity-box input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d6c8b4;
    border-radius: 16px;
    padding: 12px 14px;
    background: #fff;
    color: var(--pp-ink);
    font-size: 18px;
    font-weight: 850;
}

.physical-main-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    background: var(--pp-navy);
    color: #fff;
    font-weight: 950;
    font-size: 16px;
    cursor: pointer;
}

.physical-main-button:hover {
    background: var(--pp-navy-dark);
}

.physical-safe-text {
    margin: 13px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--pp-muted);
    font-size: 13px;
    line-height: 1.45;
}

.physical-alert {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: #fef2f2;
    color: var(--pp-red);
    font-weight: 850;
}

/* ================================
   Beneficios
================================ */

.physical-benefits {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.physical-benefits article {
    padding: 15px;
    background: var(--pp-paper);
    border: 1px solid var(--pp-line);
    border-radius: 18px;
}

.physical-benefits strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pp-navy);
    font-weight: 950;
}

.physical-benefits span {
    display: block;
    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.45;
}

/* ================================
   Secciones inferiores
================================ */

.physical-section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
}

.physical-description-section {
    max-width: 860px;
}

.physical-section-head {
    margin-bottom: 14px;
}

.physical-section-head h2 {
    margin: 8px 0 0;
    color: #102a43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.physical-content-box {
    padding: 20px;
    background: var(--pp-paper);
    border: 1px solid var(--pp-line);
    border-radius: 24px;
    box-shadow: 0 8px 22px rgba(16, 52, 92, .04);
}

.physical-content-text {
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}

.physical-content-text p {
    margin-top: 0;
}

.physical-info-grid {
    display: grid;
    gap: 12px;
}

.physical-info-grid article {
    padding: 18px;
    background: var(--pp-paper);
    border: 1px solid var(--pp-line);
    border-radius: 22px;
    box-shadow: 0 8px 22px rgba(16, 52, 92, .04);
}

.physical-info-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: var(--pp-soft);
    color: var(--pp-gold);
    font-size: 13px;
    font-weight: 950;
}

.physical-info-grid h3 {
    margin: 0 0 8px;
    color: var(--pp-navy);
    font-size: 19px;
    line-height: 1.2;
}

.physical-info-grid p {
    margin: 0;
    color: var(--pp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.physical-related-section {
    padding-bottom: 42px;
}

.physical-related-section .product-list {
    margin-top: 16px;
}

/* ================================
   Tablet y desktop
================================ */

@media (min-width: 760px) {
    .physical-hero {
        grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
        align-items: start;
        gap: 42px;
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .physical-cover-card {
        max-width: 460px;
    }

    .physical-buy-card {
        padding: 22px;
    }

    .physical-cart-form {
        grid-template-columns: 140px minmax(0, 1fr);
        align-items: end;
    }

    .physical-main-button {
        min-height: 52px;
    }

    .physical-benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .physical-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .physical-content-box {
        padding: 26px;
    }
}

/* ================================
   Desktop amplio
================================ */

@media (min-width: 1024px) {
    .physical-hero {
        gap: 54px;
    }

    .physical-summary {
        padding-top: 8px;
    }

    .physical-lead {
        font-size: 18px;
        max-width: 680px;
    }

    .physical-cover-card img {
        transform: scale(1.38) translateY(-7%);
    }
}

/* ================================
   Móvil
================================ */

@media (max-width: 759px) {
    .physical-cover-card {
        max-width: 430px;
    }

    .physical-cover-card img {
        transform: scale(1.28) translateY(-6%);
    }
}

/* ================================
   Móvil pequeño
================================ */

@media (max-width: 420px) {
    .physical-hero,
    .physical-section {
        width: min(100% - 24px, 1120px);
    }

    .physical-label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .physical-buy-card {
        padding: 15px;
        border-radius: 20px;
    }

    .physical-price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .physical-price-row small {
        text-align: left;
    }

    .physical-cover-card img {
        transform: scale(1.24) translateY(-5%);
    }
}