.itg-sscp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9997;
}

.itg-sscp-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.itg-sscp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.itg-sscp-drawer.is-open {
    transform: translateX(0);
}

.itg-sscp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.itg-sscp-header h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.itg-sscp-close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.itg-sscp-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
}

.itg-sscp-empty {
    text-align: center;
    color: #666;
    padding: 40px 10px;
}

.itg-sscp-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.itg-sscp-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
}

.itg-sscp-item-image img {
    width: 72px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.itg-sscp-item-title {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #111;
}

.itg-sscp-item-title:hover {
    text-decoration: underline;
}

.itg-sscp-item-price {
    margin-top: 6px;
    font-size: 14px;
    color: #444;
}

.itg-sscp-item-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.itg-sscp-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.itg-sscp-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    background: #f7f7f7;
    cursor: pointer;
    font-size: 18px;
}

.itg-sscp-qty-input {
    width: 46px;
    height: 32px;
    border: 0;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.itg-sscp-qty-input::-webkit-outer-spin-button,
.itg-sscp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.itg-sscp-remove-item {
    color: #b42318;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.itg-sscp-remove-item:hover {
    text-decoration: underline;
}

.itg-sscp-footer {
    border-top: 1px solid #eee;
    padding: 18px 20px 20px;
    background: #fff;
}

.itg-sscp-subtotal {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
}

.itg-sscp-actions {
    display: grid;
    gap: 10px;
}

.itg-sscp-button,
.itg-sscp-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    padding: 0 16px;
}

.itg-sscp-button {
    background: var(--itg-sscp-accent, #111111);
    color: var(--itg-sscp-button-text, #ffffff);
}

.itg-sscp-button:hover {
    color: var(--itg-sscp-button-text, #ffffff);
    opacity: 0.92;
}

.itg-sscp-button-secondary {
    background: #f5f5f5;
    color: #111;
    border: 1px solid #e5e5e5;
}

.itg-sscp-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9996;
    border: 0;
    background: var(--itg-sscp-accent, #111111);
    color: var(--itg-sscp-button-text, #ffffff);
    border-radius: 999px;
    min-width: 58px;
    height: 58px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.itg-sscp-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 12px;
    padding: 0 6px;
}

.itg-sscp-drawer.is-loading {
    pointer-events: none;
    opacity: 0.65;
}

@media (max-width: 480px) {
    .itg-sscp-toggle {
        right: 14px;
        bottom: 14px;
    }

    .itg-sscp-header,
    .itg-sscp-body,
    .itg-sscp-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}
