/* Sweet Coco — Cart & Checkout */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

.sc-shop {
    --sc-shop-chocolate: #1a0f0c;
    --sc-shop-brown: #3d251c;
    --sc-shop-gold: #c9a05c;
    --sc-shop-gold-light: #e8d5a8;
    --sc-shop-caramel: #b8844a;
    --sc-shop-cream: #faf6f0;
    --sc-shop-cream-dark: #f0e8dc;
    --sc-shop-text: #1f1410;
    --sc-shop-muted: #7a6b5e;
    --sc-shop-gold-rgb: 201, 160, 92;
    --sc-shop-chocolate-rgb: 26, 15, 12;
    --sc-shop-cream-rgb: 250, 246, 240;
    --sc-shop-radius: 22px;
    --sc-shop-shadow: 0 24px 60px rgba(var(--sc-shop-chocolate-rgb), 0.1);
    position: relative;
    padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(var(--sc-shop-gold-rgb), 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(var(--sc-shop-chocolate-rgb), 0.05), transparent 50%),
        linear-gradient(165deg, var(--sc-shop-cream) 0%, var(--sc-shop-cream-dark) 52%, #ebe4d8 100%);
    overflow: hidden;
    font-family: "Jost", "Segoe UI", sans-serif;
    color: var(--sc-shop-text);
}

.sc-shop__grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(var(--sc-shop-chocolate-rgb), 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--sc-shop-chocolate-rgb), 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.sc-shop__container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 24px);
}

.sc-shop__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.sc-shop__hero p {
    text-align: center;
}

.sc-shop__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.35);
    background: rgba(var(--sc-shop-gold-rgb), 0.1);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sc-shop-brown);
}

.sc-shop__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--sc-shop-chocolate);
    margin: 0 0 10px;
    line-height: 1.15;
}

.sc-shop__subtitle {
    font-size: 15px;
    color: var(--sc-shop-muted);
    margin: 0 auto;
    line-height: 1.65;
    text-align: center;
    max-width: 480px;
}

/* Progress steps */
.sc-shop__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.sc-shop__step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-shop__step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sc-shop-gold-rgb), 0.15);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.25);
    color: var(--sc-shop-muted);
    font-size: 14px;
    transition: all 0.25s ease;
}

.sc-shop__step-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--sc-shop-muted);
}

.sc-shop__step.is-active .sc-shop__step-icon {
    background: linear-gradient(135deg, var(--sc-shop-brown), var(--sc-shop-chocolate));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--sc-shop-chocolate-rgb), 0.25);
}

.sc-shop__step.is-active .sc-shop__step-label {
    color: var(--sc-shop-chocolate);
    font-weight: 600;
}

.sc-shop__step.is-done .sc-shop__step-icon {
    background: #2d8a54;
    border-color: transparent;
    color: #fff;
}

.sc-shop__step.is-done .sc-shop__step-label {
    color: #2d8a54;
    font-weight: 600;
}

.sc-shop__step-line {
    width: clamp(24px, 5vw, 56px);
    height: 2px;
    margin: 0 12px;
    background: rgba(var(--sc-shop-gold-rgb), 0.25);
    border-radius: 2px;
}

.sc-shop__step-line.is-done {
    background: #2d8a54;
}

/* Layout */
.sc-shop__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.sc-shop__layout--checkout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sc-shop__layout > * {
    min-width: 0;
}

/* Panels */
.sc-shop__panel {
    background: rgb(var(--sc-shop-cream-rgb));
    border-radius: var(--sc-shop-radius);
    overflow: hidden;
    box-shadow: var(--sc-shop-shadow);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
}

.sc-shop__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px clamp(22px, 3vw, 30px);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        linear-gradient(165deg, #1a0f0c 0%, #2d1a14 50%, #3d251c 100%);
    color: #fff;
}

.sc-shop__panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-shop__panel-count {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.sc-shop__panel-body {
    padding: 0;
}

.sc-shop__panel-body--padded {
    padding: clamp(22px, 3vw, 32px);
}

/* Cart items */
.sc-shop__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 22px clamp(22px, 3vw, 30px);
    border-bottom: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
    transition: background 0.2s ease;
}

.sc-shop__item:last-child {
    border-bottom: none;
}

.sc-shop__item:hover {
    background: rgba(var(--sc-shop-gold-rgb), 0.04);
}

.sc-shop__item-img {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.2);
    flex-shrink: 0;
}

.sc-shop__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-shop__item-name {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.sc-shop__item-name a {
    color: var(--sc-shop-chocolate);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-shop__item-name a:hover {
    color: var(--sc-shop-caramel);
}

.sc-shop__item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.sc-shop__item-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--sc-shop-brown);
    background: rgba(var(--sc-shop-gold-rgb), 0.12);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.18);
    padding: 4px 10px;
    border-radius: 999px;
}

.sc-shop__item-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sc-shop-chocolate);
}

.sc-shop__item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Quantity */
.sc-shop__qty {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.28);
    border-radius: 12px;
    overflow: hidden;
}

.sc-shop__qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(var(--sc-shop-gold-rgb), 0.1);
    color: var(--sc-shop-brown);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sc-shop__qty-btn:hover {
    background: var(--sc-shop-brown);
    color: #fff;
}

.sc-shop__qty-input {
    width: 48px;
    height: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--sc-shop-text);
}

/* Buttons */
.sc-shop__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sc-shop__btn--primary {
    background: linear-gradient(135deg, var(--sc-shop-brown) 0%, var(--sc-shop-chocolate) 100%);
    color: var(--sc-shop-cream);
}

.sc-shop__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(var(--sc-shop-chocolate-rgb), 0.28);
    background: linear-gradient(135deg, var(--sc-shop-gold-light), var(--sc-shop-gold));
    color: var(--sc-shop-chocolate);
}

.sc-shop__btn--ghost {
    background: rgba(var(--sc-shop-gold-rgb), 0.12);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.28);
    color: var(--sc-shop-brown);
}

.sc-shop__btn--ghost:hover {
    transform: translateY(-2px);
    background: rgba(var(--sc-shop-gold-rgb), 0.2);
    color: var(--sc-shop-chocolate);
}

.sc-shop__btn--sm {
    width: auto;
    padding: 8px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.sc-shop__btn--sm:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.sc-shop__btn--danger {
    width: auto;
    padding: 9px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
    background: rgba(193, 87, 43, 0.1);
    border: 1px solid rgba(193, 87, 43, 0.25);
    color: #b54a2a;
}

.sc-shop__btn--danger:hover {
    background: #c1572b;
    color: #fff;
    transform: translateY(-1px);
}

.sc-shop__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

/* Summary sidebar */
.sc-shop__summary {
    position: sticky;
    top: 24px;
}

.sc-shop__summary-rows {
    padding: clamp(22px, 3vw, 28px);
}

.sc-shop__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 15px;
}

.sc-shop__summary-row + .sc-shop__summary-row {
    border-top: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
}

.sc-shop__summary-row.is-total {
    padding-top: 18px;
    margin-top: 6px;
    border-top: 2px solid rgba(var(--sc-shop-gold-rgb), 0.22);
}

.sc-shop__summary-row.is-total .sc-shop__summary-label,
.sc-shop__summary-row.is-total .sc-shop__summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sc-shop-chocolate);
}

.sc-shop__summary-label {
    color: var(--sc-shop-muted);
    font-weight: 500;
}

.sc-shop__summary-value {
    color: var(--sc-shop-chocolate);
    font-weight: 600;
}

.sc-shop__summary-value--discount {
    color: #1e8449;
}

/* Coupon box */
.sc-shop__coupon {
    margin: clamp(16px, 2.5vw, 22px) clamp(22px, 3vw, 28px) 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
}

.sc-shop__coupon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-shop-caramel);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.sc-shop__coupon-toggle:hover {
    color: var(--sc-shop-chocolate);
}

.sc-shop__coupon-toggle.is-open {
    color: var(--sc-shop-chocolate);
    margin-bottom: 12px;
}

.sc-shop__coupon-toggle-icon {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.sc-shop__coupon-toggle.is-open .sc-shop__coupon-toggle-icon {
    transform: rotate(180deg);
}

.sc-shop__coupon-form {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    overflow: hidden;
}

.sc-shop__coupon-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.25);
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    color: var(--sc-shop-text);
}

.sc-shop__coupon-input:focus {
    outline: none;
    border-color: var(--sc-shop-gold);
    box-shadow: 0 0 0 3px rgba(var(--sc-shop-gold-rgb), 0.15);
}

.sc-shop__coupon-btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: var(--sc-shop-gold);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sc-shop__coupon-btn:hover {
    background: var(--sc-shop-chocolate);
}

.sc-shop__coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(30, 132, 73, 0.08);
    border: 1px solid rgba(30, 132, 73, 0.18);
}

.sc-shop__coupon-applied-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sc-shop__coupon-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sc-shop-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sc-shop__coupon-applied-text {
    font-size: 13px;
    color: #1e8449;
    font-weight: 600;
}

.sc-shop__coupon-remove {
    border: none;
    background: none;
    color: var(--sc-shop-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.sc-shop__coupon-remove:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Empty state */
.sc-shop__empty {
    text-align: center;
    padding: clamp(48px, 8vw, 72px) 24px;
}

.sc-shop__empty-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sc-shop-gold-rgb), 0.12);
    color: var(--sc-shop-caramel);
    font-size: 2rem;
}

.sc-shop__empty-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    color: var(--sc-shop-chocolate);
    margin: 0 0 10px;
}

.sc-shop__empty-text {
    color: var(--sc-shop-muted);
    margin: 0 0 28px;
    font-size: 15px;
}

.sc-shop__empty .sc-shop__btn {
    max-width: 280px;
    margin: 0 auto;
}

/* Checkout form */
.sc-shop__form-group {
    margin-bottom: 20px;
}

.sc-shop__field {
    position: relative;
    width: 100%;
    min-width: 0;
}

.sc-shop__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sc-shop-gold);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.sc-shop__field .sc-shop__input {
    padding-left: 44px;
}

.sc-shop__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sc-shop-brown);
    margin-bottom: 8px;
}

.sc-shop__input,
.sc-shop__textarea,
.sc-shop .select2-container--default .select2-selection--single {
    box-sizing: border-box;
    width: 100% !important;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.28) !important;
    border-radius: 14px !important;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--sc-shop-text);
    background: #fff !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    min-height: 52px;
}

.sc-shop__textarea {
    min-height: 110px;
    resize: vertical;
}

.sc-shop__input:focus,
.sc-shop__textarea:focus {
    outline: none;
    border-color: rgba(var(--sc-shop-gold-rgb), 0.65) !important;
    box-shadow: 0 0 0 4px rgba(var(--sc-shop-gold-rgb), 0.12);
}

.sc-shop .select2-container--default .select2-selection--single {
    height: 52px !important;
    display: flex;
    align-items: center;
}

.sc-shop .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4 !important;
    padding-left: 16px !important;
    color: var(--sc-shop-text);
}

.sc-shop .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 12px !important;
}

.sc-shop__payment {
    margin-top: 8px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(var(--sc-shop-gold-rgb), 0.08);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.14);
}

.sc-shop__payment-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sc-shop-brown);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-shop__payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.22);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-shop__payment-option:hover {
    border-color: rgba(var(--sc-shop-gold-rgb), 0.45);
    box-shadow: 0 4px 16px rgba(var(--sc-shop-chocolate-rgb), 0.06);
}

.sc-shop__payment-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--sc-shop-brown);
}

.sc-shop__payment-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--sc-shop-text);
}

/* Order table */
.sc-shop__table-wrap {
    overflow-x: auto;
}

.sc-shop__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.sc-shop__table th,
.sc-shop__table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
    vertical-align: middle;
}

.sc-shop__table thead th {
    background: rgba(var(--sc-shop-gold-rgb), 0.1);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sc-shop-brown);
    text-align: left;
}

.sc-shop__table tbody tr:hover {
    background: rgba(var(--sc-shop-gold-rgb), 0.04);
}

.sc-shop__table-product {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.sc-shop__table-product img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.18);
}

.sc-shop__table-product a {
    color: var(--sc-shop-chocolate);
    text-decoration: none;
    font-weight: 600;
}

.sc-shop__table-product a:hover {
    color: var(--sc-shop-caramel);
}

.sc-shop__table-meta {
    font-size: 12px;
    color: var(--sc-shop-muted);
    margin-top: 4px;
}

.sc-shop__table tfoot th,
.sc-shop__table tfoot td {
    background: rgba(var(--sc-shop-gold-rgb), 0.06);
    font-weight: 600;
    color: var(--sc-shop-chocolate);
}

.sc-shop__table tfoot tr:last-child th,
.sc-shop__table tfoot tr:last-child td {
    background: rgba(var(--sc-shop-chocolate-rgb), 0.06);
    font-size: 1.05rem;
    font-weight: 700;
}

/* Mobile order items (checkout) */
.sc-shop__mobile-item {
    padding: 18px clamp(18px, 3vw, 24px);
    border-bottom: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
}

.sc-shop__mobile-item:last-child {
    border-bottom: none;
}

.sc-shop__mobile-row {
    display: flex;
    gap: 14px;
}

.sc-shop__mobile-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.18);
}

.sc-shop__mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-shop__mobile-name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-shop-chocolate);
    line-height: 1.35;
}

.sc-shop__mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.sc-shop__mobile-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-shop-chocolate);
}

.sc-shop__mobile-totals {
    padding: 20px clamp(18px, 3vw, 24px);
    background: rgba(var(--sc-shop-gold-rgb), 0.08);
    border-top: 1px solid rgba(var(--sc-shop-gold-rgb), 0.14);
}

/* Responsive */
@media (max-width: 991px) {
    .sc-shop__layout,
    .sc-shop__layout--checkout {
        grid-template-columns: 1fr;
    }

    .sc-shop__summary {
        position: static;
    }

    .sc-shop__step-line {
        display: none;
    }

    .sc-shop__steps {
        gap: 16px;
    }

    .sc-shop__step {
        flex-direction: column;
        text-align: center;
        min-width: 72px;
    }
}

@media (max-width: 767px) {
    .sc-shop__item {
        grid-template-columns: 80px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .sc-shop__item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .sc-shop__item-img {
        width: 80px;
        height: 80px;
    }

    .sc-shop__panel-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .sc-shop__input,
    .sc-shop__textarea,
    .sc-shop .select2-container--default .select2-selection--single {
        font-size: 16px;
    }
}

/* Order track */
.sc-track__wrap {
    max-width: 520px;
    margin: 0 auto;
}

.sc-track__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    line-height: 0;
}

.sc-track__logo img {
    max-height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.sc-track__intro {
    text-align: center;
    padding: 28px clamp(22px, 3vw, 32px) 0;
}

.sc-track__intro-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sc-shop-gold-rgb), 0.14);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.22);
    color: var(--sc-shop-caramel);
    font-size: 1.35rem;
}

.sc-track__intro-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 500;
    color: var(--sc-shop-chocolate);
    margin: 0 0 8px;
}

.sc-track__intro-text {
    font-size: 14px;
    color: var(--sc-shop-muted);
    margin: 0 auto;
    line-height: 1.65;
    text-align: center;
    max-width: 360px;
}

.sc-track__form-wrap {
    padding: clamp(28px, 4vw, 36px);
}

.sc-track__footer {
    padding: 20px clamp(22px, 3vw, 32px) 24px;
    text-align: center;
    border-top: 1px solid rgba(var(--sc-shop-gold-rgb), 0.14);
    background: rgba(var(--sc-shop-gold-rgb), 0.06);
}

.sc-track__footer p {
    margin: 0;
    font-size: 14px;
    color: var(--sc-shop-muted);
    text-align: center;
}

.sc-track__footer a {
    color: var(--sc-shop-caramel);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-track__footer a:hover {
    color: var(--sc-shop-brown);
}

.sc-track__hints {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.sc-track__hint {
    text-align: center;
    padding: 16px 10px;
    border-radius: 16px;
    background: rgb(var(--sc-shop-cream-rgb));
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.12);
    box-shadow: var(--sc-shop-shadow);
}

.sc-track__hint i {
    display: block;
    font-size: 1.1rem;
    color: var(--sc-shop-gold);
    margin-bottom: 8px;
}

.sc-track__hint span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--sc-shop-brown);
    line-height: 1.4;
}

@media (max-width: 575px) {
    .sc-track__hints {
        grid-template-columns: 1fr;
    }
}

/* Order success */
.sc-shop-success__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 36px);
}

.sc-shop-success__icon {
    position: relative;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2d8a54 0%, #1e6b40 100%);
    color: #fff;
    font-size: 2rem;
    box-shadow:
        0 18px 40px rgba(30, 107, 64, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    animation: scShopSuccessPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sc-shop-success__icon-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(45, 138, 84, 0.28);
    animation: scShopSuccessRing 1.2s ease-out 0.15s both;
}

.sc-shop-success__badge {
    margin-bottom: 14px;
    color: #1e6b40;
    border-color: rgba(45, 138, 84, 0.28);
    background: rgba(45, 138, 84, 0.1);
}

.sc-shop-success__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.sc-shop-success__stat {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgb(var(--sc-shop-cream-rgb));
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.14);
    box-shadow: var(--sc-shop-shadow);
}

.sc-shop-success__stat--highlight {
    background:
        linear-gradient(160deg, rgba(var(--sc-shop-gold-rgb), 0.16) 0%, rgba(var(--sc-shop-gold-rgb), 0.04) 100%),
        rgb(var(--sc-shop-cream-rgb));
    border-color: rgba(var(--sc-shop-gold-rgb), 0.28);
}

.sc-shop-success__stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sc-shop-muted);
}

.sc-shop-success__stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sc-shop-chocolate);
    line-height: 1.3;
    word-break: break-word;
}

.sc-shop__layout--success {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
}

.sc-shop-success__aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.sc-shop-success__product-name {
    display: block;
    font-weight: 600;
    color: var(--sc-shop-chocolate);
}

.sc-shop-success__status {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(45, 138, 84, 0.12);
    border: 1px solid rgba(45, 138, 84, 0.22);
    color: #1e6b40;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sc-shop-success__address {
    padding: clamp(22px, 3vw, 28px);
    font-size: 15px;
    line-height: 1.7;
    color: var(--sc-shop-muted);
}

.sc-shop-success__address p {
    margin: 0 0 8px;
}

.sc-shop-success__address-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sc-shop-chocolate);
}

.sc-shop-success__address-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(var(--sc-shop-gold-rgb), 0.1);
    color: var(--sc-shop-brown);
    font-weight: 600;
}

.sc-shop-success__notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(var(--sc-shop-gold-rgb), 0.1);
    border: 1px solid rgba(var(--sc-shop-gold-rgb), 0.18);
}

.sc-shop-success__notice i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.1rem;
    color: var(--sc-shop-gold);
}

.sc-shop-success__notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sc-shop-brown);
}

.sc-shop-success__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-shop-success__actions .sc-shop__btn {
    width: 100%;
}

@keyframes scShopSuccessPop {
    from {
        opacity: 0;
        transform: scale(0.65);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scShopSuccessRing {
    from {
        opacity: 0.8;
        transform: scale(0.85);
    }
    to {
        opacity: 0;
        transform: scale(1.25);
    }
}

@media (max-width: 991px) {
    .sc-shop-success__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-shop__layout--success {
        grid-template-columns: 1fr;
    }

    .sc-shop-success__aside {
        position: static;
    }
}

@media (max-width: 575px) {
    .sc-shop-success__stats {
        grid-template-columns: 1fr;
    }

    .sc-shop-success__icon {
        width: 76px;
        height: 76px;
        font-size: 1.65rem;
    }
}
