/* Cart / checkout — conversion-focused */

.cart-page .pg-intro { min-height: min(30vh, 220px); }

.ct-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.ct-list h3 {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.ct-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.ct-item__title {
    margin: 0 0 0.25rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.ct-item__price {
    margin: 0 0 0.45rem;
    color: var(--pg-gold);
    font-weight: 600;
}

.ct-item__meta {
    margin: 0;
    color: var(--pg-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.ct-item__remove {
    appearance: none;
    border: 1px solid rgba(26, 26, 26, 0.15);
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    color: #7a2222;
}

.ct-item__remove:hover {
    background: #f8eaea;
}

.ct-summary {
    position: sticky;
    top: 84px;
    background: transparent;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 4px;
    padding: 1.35rem;
}

.ct-summary h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.ct-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.ct-row--total {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    font-weight: 700;
    font-size: 1.05rem;
}

.ct-row--discount { color: #1f5a2a; }

.ct-coupon {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.ct-coupon__row {
    display: flex;
    gap: 0.5rem;
}

.ct-coupon__row input {
    flex: 1;
    min-height: 48px;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-radius: 4px;
    padding: 0.75rem 0.95rem;
    font: inherit;
    background: #f7f1e7;
    color: var(--pg-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ct-coupon__row input:focus {
    outline: none;
    border-color: var(--pg-gold);
    background: #fffaf4;
    box-shadow: 0 0 0 3px rgba(177, 112, 6, 0.18);
}

.ct-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
}

.ct-checkout {
    margin-top: 2rem;
}

.ct-checkout__head {
    margin-bottom: 1.25rem;
}

.ct-checkout__head h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.ct-checkout__head p {
    margin: 0;
    color: var(--pg-muted);
}

.ct-form-section {
    background: transparent;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 4px;
    padding: 1.5rem 1.35rem;
    margin-bottom: 1.25rem;
}

.ct-form-section h3 {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
}

.ct-form-note {
    margin: -0.15rem 0 1.15rem;
    color: var(--pg-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.ct-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.ct-prefix {
    display: flex;
    width: 100%;
}

.ct-prefix span {
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #ebe3d6;
    color: var(--pg-muted);
    font-weight: 600;
}

.ct-prefix input {
    border-radius: 0 4px 4px 0 !important;
    flex: 1;
}

.ct-prefix:focus-within span {
    border-color: var(--pg-gold);
    background: #e8dfd2;
}

.ct-equip-list {
    max-height: 280px;
    overflow: auto;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    background: #f7f1e7;
}

.ct-equip-list h4 {
    margin: 0.75rem 0 0.45rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pg-gold);
}

.ct-equip-list h4:first-child { margin-top: 0; }

.ct-equip-item {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.ct-terms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ct-terms label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--pg-muted);
}

.ct-terms a { color: var(--pg-gold); }

.ct-actions {
    margin-top: 1.25rem;
}

@media (max-width: 900px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-summary { position: static; }
    .ct-grid-2 { grid-template-columns: 1fr; gap: 0; }
}
