/* cart_checkout_v1: every layout rule is scoped to the assigned compact arm. */
html.pg-cart-compact #promoCouponWidget {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 12px !important;
    margin: 0 0 10px !important;
    min-height: 0;
    border-radius: 10px !important;
}
html.pg-cart-compact #promoCouponWidget .promo-coupon-flash-badge,
html.pg-cart-compact #promoCouponWidget .promo-coupon-code-row,
html.pg-cart-compact #promoCouponWidget .promo-coupon-deadline { display: none !important; }
html.pg-cart-compact #promoCouponWidget .promo-coupon-headline {
    grid-column: 1;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3;
}
html.pg-cart-compact #promoCouponWidget .promo-coupon-headline-pct { font-size: 15px !important; }
html.pg-cart-compact #promoCouponWidget .promo-coupon-sub {
    grid-column: 1;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4;
}
html.pg-cart-compact #promoCouponWidget .promo-coupon-apply-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 44px;
    max-width: 150px;
    margin: 0 !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    white-space: normal;
    animation: none !important;
}
html.pg-cart-compact #promoCouponWidget .promo-coupon-apply-btn::before,
html.pg-cart-compact #promoCouponWidget .promo-coupon-apply-btn::after { animation: none !important; display: none; }
html.pg-cart-compact #promoCouponWidget .promo-coupon-cancel-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 44px;
    max-width: 150px;
    padding: 6px 9px;
    margin: 0;
    font-size: 14px;
}
html.pg-cart-compact #promoCouponWidget.is-applied .promo-coupon-cancel-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--c2-ink, #25221d);
}
html.pg-cart-compact #promoCouponWidget .promo-coupon-status { grid-column: 1 / -1; margin: 0 !important; font-size: 14px; }
html.pg-cart-compact #promoCouponWidget .promo-coupon-status:empty { display: none; }
html.pg-cart-compact .cart-summary-item { padding: 12px !important; }
html.pg-cart-compact .cart-item-row { gap: 12px; }
html.pg-cart-compact .cart-item-info { min-width: 0; }
html.pg-cart-compact .cart-item-main { flex-wrap: wrap; }
html.pg-cart-compact .cart-item-title { font-size: 16px !important; line-height: 1.35; }
html.pg-cart-compact .cart-item-title .cart-item-num { font-size: 13px; }
html.pg-cart-compact .cart-item-meta { font-size: 14px !important; line-height: 1.4; }
html.pg-cart-compact .pg-cart-item-dimensions { display: block; color: var(--c2-ink, #25221d); margin-bottom: 4px; font-size: 14px; }
html.pg-cart-compact .cart-item-eta { font-size: 14px !important; line-height: 1.4; }
html.pg-cart-compact .cart-item-price,
html.pg-cart-compact .cart-item-price.has-apply {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px 8px;
    max-width: 100%;
    text-align: left;
    margin: 4px 0 0;
}
html.pg-cart-compact .cart-item-price-new { font-size: 18px !important; }
html.pg-cart-compact .cart-item-price-old,
html.pg-cart-compact .cart-item-save-chip { font-size: 13px; }
html.pg-cart-compact .cart-item-apply-discount {
    min-height: 44px;
    padding: 6px 10px;
    align-items: flex-start;
    text-align: left;
    animation: none !important;
}
html.pg-cart-compact .cart-item-apply-discount .ciad-main,
html.pg-cart-compact .cart-item-apply-discount .ciad-sub { font-size: 14px; white-space: normal; }
html.pg-cart-compact .cart-item-extras { gap: 0; margin-top: 8px; }
html.pg-cart-compact .pg-cart-disclosure { border-top: 1px solid var(--c2-hair, #e5e1da); }
html.pg-cart-compact .pg-cart-disclosure > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    box-sizing: border-box;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c2-ink, #25221d);
    font-weight: 600;
}
html.pg-cart-compact .pg-cart-disclosure > summary::-webkit-details-marker { display: none; }
html.pg-cart-compact .pg-cart-disclosure > summary::after { content: '+'; font-size: 20px; font-weight: 400; flex: 0 0 auto; }
html.pg-cart-compact .pg-cart-disclosure[open] > summary::after { content: '−'; }
html.pg-cart-compact .pg-cart-disclosure-content { padding: 0 0 10px; }
html.pg-cart-compact .cart-format-head { display: none; }
html.pg-cart-compact .cart-format-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; padding-top: 0; }
html.pg-cart-compact .cart-format-pill { min-height: 76px; padding: 10px 8px !important; min-width: 0; }
html.pg-cart-compact .cart-format-pill .pill-label,
html.pg-cart-compact .cart-format-pill .pill-price { font-size: 14px !important; white-space: normal; line-height: 1.4; }
html.pg-cart-compact .pg-cart-pill-dimensions { display: block; font-size: 14px; line-height: 1.4; margin: 3px 0; }
html.pg-cart-compact .video-upsell-toggle,
html.pg-cart-compact .cart-giftkit { margin-top: 4px; min-width: 0; }
html.pg-cart-compact .video-upsell-info .upsell-title,
html.pg-cart-compact .cart-giftkit .upsell-title,
html.pg-cart-compact .video-upsell-toggle .video-upsell-info .upsell-desc,
html.pg-cart-compact .cart-giftkit .upsell-desc,
html.pg-cart-compact .video-upsell-price { font-size: 14px !important; line-height: 1.4; }
html.pg-cart-compact .upsell-preview-link,
html.pg-cart-compact .pg-cart-extra-remove { min-height: 44px; font-size: 14px !important; }
html.pg-cart-compact .pg-cart-extra-remove {
    padding: 6px 10px;
    border: 1px solid var(--c2-hair, #e5e1da);
    border-radius: 7px;
    background: #fff;
    color: var(--c2-ink, #25221d);
    cursor: pointer;
}
html.pg-cart-compact .cart-item-foot { flex-wrap: wrap; }
html.pg-cart-compact .cart-item-foot > button,
html.pg-cart-compact .cart-item-note-disclosure > summary { min-height: 44px; font-size: 14px !important; }
html.pg-cart-compact .pg-cart-disclosure > summary:focus-visible,
html.pg-cart-compact .cart-format-pill:focus-visible,
html.pg-cart-compact .pg-cart-extra-remove:focus-visible { outline: 3px solid var(--c2-accent, #a65d32); outline-offset: 2px; }
@media (max-width: 600px) {
    html.pg-cart-compact .cart-item-main { flex-direction: column; align-items: stretch; }
    html.pg-cart-compact .cart-thumb-shield,
    html.pg-cart-compact .cart-item-thumbnail { width: 76px !important; height: 102px !important; }
    html.pg-cart-compact .video-upsell-toggle,
    html.pg-cart-compact .cart-giftkit { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
    html.pg-cart-compact .video-upsell-cta-col { grid-column: 2; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
    html.pg-cart-compact .cart-item-foot .cart-item-note-disclosure { flex: 1 1 100%; }
    html.pg-cart-compact .cart-mobile-checkout-bar { padding-top: 8px; }
}
