.print3d-detail-page {
    padding: 1rem 0 2.5rem;
}

.print3d-shell {
    max-width: 1160px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.print3d-detail-hero,
.calculator-card,
.print3d-summary-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 28, 39, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(31, 26, 21, 0.08);
    backdrop-filter: blur(16px);
}

.print3d-detail-hero {
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
}

.print3d-detail-top {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.seller-avatar-large {
    position: relative;
    width: 92px;
    height: 92px;
}

.seller-avatar-large img,
.seller-avatar-large .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
}

.seller-avatar-large .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #17344b 0%, #102537 100%);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
}

.seller-avatar-large .verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #17344b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    border: 2px solid #fff;
}

.print3d-detail-eyebrow,
.seller-meta,
.print3d-detail-actions,
.result-meta,
.result-actions,
.print3d-items-head,
.calc-form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.print3d-detail-actions .btn,
.result-actions .btn {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.print3d-detail-actions .btn:hover,
.print3d-detail-actions .btn:focus-visible,
.result-actions .btn:hover,
.result-actions .btn:focus-visible {
    transform: none;
}

.print3d-detail-eyebrow {
    color: #73685d;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.seller-name,
.calculator-title,
.print3d-summary-card h3,
.print3d-items-head .section-title {
    font-family: "Fraunces", Georgia, serif;
    color: #231f1b;
    line-height: 1.06;
}

.seller-name {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    margin-bottom: 0.18rem;
}

.seller-username,
.seller-meta,
.seller-bio,
.calculator-subtitle,
.print3d-summary-copy,
.result-note,
.live-hint {
    color: #61594f;
}

.seller-bio {
    line-height: 1.75;
    max-width: 52rem;
}

.print3d-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 320px;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.calculator-card {
    padding: 1.2rem 1.25rem;
}

.print3d-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.print3d-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    background: rgba(23, 52, 75, 0.07);
    color: #17344b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.calculator-title {
    font-size: 1.7rem;
    margin: 0.35rem 0 0;
}

.calculator-subtitle {
    max-width: 19rem;
    line-height: 1.65;
    margin: 0;
}

.calculator-form {
    display: grid;
    gap: 1rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.calc-group {
    display: grid;
    gap: 0.42rem;
}

.calc-group-full {
    grid-column: 1 / -1;
}

.calc-group-stack {
    align-content: start;
}

.calc-label,
.size-input-group label {
    color: #534b43;
    font-size: 0.88rem;
    font-weight: 600;
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-content {
    display: grid;
    gap: 0.22rem;
    min-height: 124px;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(23, 52, 75, 0.1);
    background: rgba(255, 255, 255, 0.82);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card input:checked + .option-content {
    border-color: rgba(23, 52, 75, 0.28);
    box-shadow: 0 12px 24px rgba(23, 52, 75, 0.1);
    transform: translateY(-1px);
}

.option-title {
    font-weight: 700;
    color: #17344b;
}

.option-price,
.calc-hint,
.option-copy {
    color: #73685d;
    font-size: 0.86rem;
}

.option-copy {
    line-height: 1.5;
}

.calc-select,
.calc-input {
    width: 100%;
    min-height: 46px;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(23, 52, 75, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: #231f1b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-select:focus,
.calc-input:focus {
    border-color: rgba(23, 52, 75, 0.28);
    box-shadow: 0 0 0 4px rgba(23, 52, 75, 0.08);
}

.size-inputs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.size-input-group {
    display: grid;
    gap: 0.35rem;
}

.size-input-group[hidden],
.calculator-result[hidden] {
    display: none !important;
}

.addon-options {
    display: grid;
    gap: 0.45rem;
}

.addon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(23, 52, 75, 0.1);
    background: rgba(255, 255, 255, 0.75);
    color: #17344b;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.addon-card strong {
    white-space: nowrap;
}

.addon-card.is-active {
    border-color: rgba(23, 52, 75, 0.28);
    box-shadow: 0 10px 24px rgba(23, 52, 75, 0.1);
    transform: translateY(-1px);
}

.calc-form-footer {
    justify-content: space-between;
    padding-top: 0.2rem;
}

.live-hint {
    margin: 0;
    line-height: 1.6;
}

.calculator-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(23, 52, 75, 0.1);
    background:
        radial-gradient(circle at top right, rgba(196, 107, 72, 0.1) 0%, rgba(196, 107, 72, 0) 35%),
        rgba(255, 255, 255, 0.84);
}

.result-content {
    display: grid;
    gap: 0.85rem;
}

.result-price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: baseline;
}

.result-label {
    color: #665d53;
}

.result-amount {
    font-family: "Fraunces", Georgia, serif;
    font-size: 2.4rem;
    color: #17344b;
    line-height: 1;
}

.result-currency {
    font-size: 1.3rem;
    color: #6a6258;
}

.result-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.result-breakdown-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 52, 75, 0.08);
}

.result-breakdown-label {
    color: #6a6258;
    font-size: 0.82rem;
}

.result-breakdown-item small {
    color: #73685d;
    font-size: 0.78rem;
}

.print3d-summary-stack {
    display: grid;
    gap: 1rem;
}

.print3d-summary-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.print3d-summary-card h3 {
    font-size: 1.2rem;
    margin: 0;
}

.print3d-summary-list {
    display: grid;
    gap: 0.6rem;
}

.print3d-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #61594f;
}

.print3d-summary-list strong {
    color: #17344b;
}

.print3d-tech-list,
.print3d-material-section {
    display: grid;
    gap: 0.65rem;
}

.print3d-tech-item {
    display: grid;
    gap: 0.15rem;
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 52, 75, 0.08);
    color: #61594f;
}

.print3d-tech-item strong,
.print3d-material-section strong {
    color: #17344b;
}

.print3d-tech-item small {
    color: #73685d;
    line-height: 1.5;
}

.print3d-material-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.print3d-material-row.is-wrap {
    margin-top: -0.1rem;
}

.print3d-material-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.45rem 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(23, 52, 75, 0.1);
    background: rgba(255, 255, 255, 0.78);
    color: #17344b;
    font-size: 0.84rem;
}

.seller-items-section {
    margin-bottom: 2rem;
}

.print3d-items-head {
    justify-content: space-between;
    margin-bottom: 1rem;
}

@media (max-width: 980px) {
    .print3d-detail-layout {
        grid-template-columns: 1fr;
    }

    .calc-form-footer {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 720px) {
    .print3d-shell {
        width: calc(100% - 24px);
    }

    .print3d-detail-top,
    .calc-grid,
    .calc-options,
    .size-inputs,
    .result-breakdown {
        grid-template-columns: 1fr;
    }

    .seller-avatar-large {
        width: 84px;
        height: 84px;
    }

    .print3d-card-head,
    .print3d-items-head {
        flex-direction: column;
        align-items: start;
    }
}
