: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-actions {
    align-items: flex-end;
}

.pdd-trust-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.pdd-cart-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
}

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

.pdd-quantity-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}

.pdd-quantity-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pdd-muted);
}

.pdd-quantity-control {
    display: inline-flex;
    align-items: center;
    height: 48px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.pdd-quantity-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--pdd-ink);
    cursor: pointer;
}

.pdd-quantity-btn:hover {
    background: rgba(15, 23, 42, 0.05);
}

.pdd-quantity-input {
    width: 72px;
    height: 48px;
    border: none;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--pdd-ink);
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

.pdd-quantity-input::-webkit-outer-spin-button,
.pdd-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pdd-quantity-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.96);
}

.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-highlights {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.pdd-highlight,
.pdd-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pdd-highlight i,
.pdd-benefit i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(47, 133, 90, 0.10);
    color: var(--pdd-accent-2);
    flex: 0 0 auto;
}

.pdd-highlight strong,
.pdd-benefit strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.pdd-highlight span,
.pdd-benefit span {
    color: var(--pdd-muted);
    line-height: 1.7;
}

.pdd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    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-delay-1 {
    --delay: 0.06s;
}

.pdd-delay-2 {
    --delay: 0.08s;
}

.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-benefits {
    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-badges {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdd-household-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: rgba(15, 23, 42, 0.8);
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

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

.pdd-next-steps {
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.pdd-next-steps h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 900;
}

.pdd-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pdd-muted);
    font-weight: 800;
    line-height: 1.6;
}

.pdd-step + .pdd-step {
    margin-top: 10px;
}

.pdd-step span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(47, 133, 90, 0.12);
    color: var(--pdd-accent-2);
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

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

.pdd-related {
    margin-top: 34px;
}

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

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

.pdd-related-head p {
    margin: 0;
    color: var(--pdd-muted);
    line-height: 1.8;
}

.pdd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pdd-related-card {
    overflow: hidden;
    border-radius: calc(var(--pdd-radius) + 2px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.pdd-related-media {
    display: block;
    background: #eef2f6;
}

.pdd-related-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.pdd-related-body {
    padding: 16px;
}

.pdd-related-title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

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

.pdd-related-bottom {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pdd-related-price {
    font-size: 18px;
    font-weight: 900;
    color: #ab4f1c;
}

.pdd-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #edf9f0;
    color: #1f6f43;
    border: 1px solid #c9ebd3;
}

.pdd-inquiry-form {
    display: grid;
    gap: 18px;
}

.pdd-inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.pdd-inquiry-grid.review {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}

.pdd-form-field {
    display: grid;
    gap: 8px;
}

.pdd-form-field.full {
    grid-column: 1 / -1;
}

.pdd-form-field label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #22304a;
}

.pdd-form-field input,
.pdd-form-field select,
.pdd-form-field textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    font: inherit;
    line-height: 1.45;
    color: var(--pdd-ink);
    background: #f8faf8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.pdd-form-field textarea {
    resize: vertical;
    min-height: 132px;
}

.pdd-form-field input:focus,
.pdd-form-field select:focus,
.pdd-form-field textarea:focus {
    outline: none;
    border-color: #6d9f7b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 159, 123, 0.14);
}

.pdd-review-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.pdd-review {
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    background: #fff;
}

.pdd-review-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pdd-review-comment {
    margin: 0 0 8px;
}

.pdd-btn.is-active {
    border-color: #f59f00;
    color: #915a00;
    background: #fff7db;
}

.pdd-rating-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.pdd-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pdd-rating-pill.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(201, 108, 50, 0.12));
    border-color: rgba(201, 108, 50, 0.18);
}

.pdd-rating-pill i {
    color: #c96c32;
}

.pdd-rating-pill strong,
.pdd-my-review-head strong {
    font-size: 1rem;
    font-weight: 900;
    color: var(--pdd-ink);
}

.pdd-rating-pill span {
    color: var(--pdd-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.pdd-my-review {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(47, 133, 90, 0.12), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(47, 133, 90, 0.16);
}

.pdd-my-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pdd-my-review-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1f6f4a;
}

.pdd-my-review-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2f855a;
}

.pdd-my-review p {
    margin: 0 0 6px;
    color: rgba(66, 48, 29, 0.84);
    line-height: 1.7;
}

.pdd-my-review small {
    color: var(--pdd-muted);
}

@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;
    }

    .pdd-related-grid {
        grid-template-columns: 1fr;
    }

    .pdd-inquiry-grid.review {
        grid-template-columns: 1fr;
    }

    .pdd-my-review-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@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-cart-form {
        width: 100%;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .pdd-quantity-wrap {
        width: 100%;
    }

    .pdd-quantity-control {
        width: 100%;
        justify-content: space-between;
    }

    .pdd-quantity-input {
        flex: 1 1 auto;
    }

    .pdd-trust-pill {
        width: 100%;
    }

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

    .pdd-inquiry-grid,
    .pdd-inquiry-grid.review {
        grid-template-columns: 1fr;
    }
}

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