:root {
    --pdd-accent: #2f855a;
    --pdd-accent-2: #1f6f4a;
    --pdd-warm: #c96c32;
    --pdd-ink: #0f172a;
    --pdd-muted: rgba(15, 23, 42, 0.70);
    --pdd-line: rgba(15, 23, 42, 0.10);
    --pdd-surface: rgba(255, 255, 255, 0.94);
    --pdd-bg: linear-gradient(180deg, #f7f4ee 0%, #f6faf6 46%, #ffffff 100%);
    --pdd-radius: 24px;
    --pdd-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.pdd-page {
    color: var(--pdd-ink);
    background: var(--pdd-bg);
}

.pdd-hero {
    padding: 68px 0 42px;
}

.pdd-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    color: var(--pdd-ink);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.pdd-hero-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.pdd-media-frame,
.pdd-card {
    border-radius: calc(var(--pdd-radius) + 4px);
    background: var(--pdd-surface);
    border: 1px solid var(--pdd-line);
    box-shadow: var(--pdd-shadow);
}

.pdd-media-frame {
    min-height: 520px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(47, 133, 90, 0.14), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f3ece4 100%);
}

.pdd-media-frame img,
.pdd-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.pdd-media-frame img {
    display: block;
    object-fit: cover;
}

.pdd-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 108, 50, 0.90);
    font-size: 64px;
}

.pdd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 133, 90, 0.10);
    color: var(--pdd-accent-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pdd-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pdd-accent), var(--pdd-warm));
}

.pdd-title {
    margin: 16px 0 12px;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.pdd-meta,
.pdd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pdd-cart-form {
    display: flex;
}

.pdd-actions > .pdd-btn,
.pdd-actions > .pdd-cart-form {
    flex: 0 0 auto;
}

.pdd-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.84);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pdd-price-wrap {
    margin: 24px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.pdd-price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 108, 50, 0.12), rgba(47, 133, 90, 0.08));
    border: 1px solid rgba(201, 108, 50, 0.14);
}

.pdd-price .amt {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #ab4f1c;
}

.pdd-price .cur {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pdd-muted);
}

.pdd-stock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.pdd-stock.ok {
    color: #11653d;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.18);
}

.pdd-stock.no {
    color: #9a3412;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.18);
}

.pdd-description {
    margin: 0 0 24px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(66, 48, 29, 0.82);
    white-space: pre-line;
}

.pdd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    font-family: inherit;
    white-space: nowrap;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: transparent;
    color: rgba(11, 18, 32, 0.86);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.pdd-btn.primary {
    background: transparent;
    color: rgba(11, 18, 32, 0.86);
}

.pdd-btn.ghost {
    background: transparent;
    color: rgba(11, 18, 32, 0.86);
}

.pdd-btn.full {
    width: 100%;
}

.pdd-actions a.pdd-btn,
.pdd-actions a.pdd-btn:hover,
.pdd-actions a.pdd-btn:focus,
.pdd-actions a.pdd-btn:active,
.pdd-actions a.pdd-btn:visited {
    font-size: 14px;
    font-weight: 900;
    padding: 0 14px;
    text-decoration: none;
}

.pdd-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.pdd-btn span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.pdd-btn:hover,
.pdd-btn:focus {
    text-decoration: none;
    border-color: rgba(255, 84, 90, 0.22);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: rgba(11, 18, 32, 0.92);
}

.pdd-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    box-shadow: none;
    transform: none;
}

.pdd-content {
    padding: 10px 0 72px;
}

.pdd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.pdd-card {
    padding: 28px;
}

.pdd-card-head {
    margin-bottom: 18px;
}

.pdd-card-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pdd-info-list {
    display: grid;
    gap: 12px;
}

.pdd-info-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.pdd-info-item .k {
    color: var(--pdd-muted);
    font-weight: 800;
}

.pdd-info-item .v {
    text-align: right;
    font-weight: 900;
    color: var(--pdd-ink);
}

.pdd-household-name {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pdd-household-meta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pdd-muted);
    font-weight: 800;
}

.pdd-household-copy {
    margin: 18px 0 22px;
    color: rgba(66, 48, 29, 0.80);
    line-height: 1.85;
    white-space: pre-line;
}

.pdd-empty {
    color: var(--pdd-muted);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .pdd-hero-grid,
    .pdd-grid {
        grid-template-columns: 1fr;
    }

    .pdd-media-frame,
    .pdd-media-frame img,
    .pdd-media-placeholder {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .pdd-hero {
        padding: 52px 0 30px;
    }

    .pdd-title {
        font-size: 2.4rem;
    }

    .pdd-card {
        padding: 22px 18px;
    }

    .pdd-info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdd-info-item .v {
        text-align: left;
    }

    .pdd-btn,
    .pdd-cart-form,
    .pdd-actions {
        width: 100%;
    }

    .pdd-actions {
        flex-direction: column;
    }

    .pdd-media-frame,
    .pdd-media-frame img,
    .pdd-media-placeholder {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdd-back,
    .pdd-btn {
        transition: none;
    }
}
