.gcw-modal-open {
    overflow: hidden;
}

.gcw-cart-card__thumbnail {
    aspect-ratio: 148 / 105;
    background: #f5f1ed;
    border: 1px solid #ded7d0;
    border-radius: 8px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 128px;
}

.gcw-cart-card__thumbnail img {
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
    width: 100%;
}

.gcw-cart-card__thumbnail:hover img,
.gcw-cart-card__thumbnail:focus-visible img {
    transform: scale(1.035);
}

.gcw-cart-card__thumbnail:focus-visible {
    box-shadow: 0 0 0 3px rgba(143, 24, 35, .15);
    outline: 2px solid #8f1823;
}

.gcw-cart-card__thumbnail-fallback {
    background: #8f1823;
    border-radius: 3px;
    display: block;
    height: 30px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
}

.gcw-cart-card__name {
    color: #252b30;
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.gcw-cart-card__message {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #70767b;
    display: -webkit-box;
    font-size: 12px;
    font-style: italic;
    line-height: 1.45;
    margin: 7px 0 0;
    max-width: 310px;
    overflow: hidden;
}

.gcw-cart-card__remove {
    background: transparent;
    border: 0;
    color: #3e3532;
    cursor: pointer;
    font: inherit;
    margin-top: 13px;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gcw-cart-card__remove:hover,
.gcw-cart-card__remove:focus-visible {
    color: #92272a;
}

.gcw-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 70;
}

.gcw-modal__backdrop {
    background: rgba(19, 24, 29, .68);
    backdrop-filter: blur(3px);
    inset: 0;
    position: absolute;
}

.gcw-modal__surface {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(14, 22, 30, .3);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    max-width: 1120px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gcw-modal-enter,
.gcw-modal-leave {
    transition: opacity .2s ease, transform .25s ease;
}

.gcw-modal-enter-start,
.gcw-modal-leave-end {
    opacity: 0;
    transform: translateY(16px) scale(.985);
}

.gcw-modal-enter-end,
.gcw-modal-leave-start {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gcw-modal__header {
    align-items: center;
    border-bottom: 1px solid #e7e2dc;
    display: grid;
    flex: 0 0 auto;
    gap: 24px;
    grid-template-columns: minmax(260px, 1fr) auto 42px;
    padding: 22px 28px;
}

.gcw-modal__identity {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.gcw-modal__back {
    align-items: center;
    background: transparent;
    border: 0;
    color: #4a5055;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-self: start;
    padding: 8px 0;
}

.gcw-modal__back > span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.gcw-modal__back:hover,
.gcw-modal__back:focus-visible {
    color: #8f1823;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.gcw-modal__identity h2 {
    color: #1f252b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 1px 0 0;
}

.gcw-modal__eyebrow,
.gcw-compose-form__eyebrow {
    color: #8f1823;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gcw-modal__gift-icon {
    background: #f8ecec;
    border-radius: 13px;
    display: block;
    flex: 0 0 auto;
    height: 48px;
    position: relative;
    width: 48px;
}

.gcw-modal__gift-icon::before {
    background: #8f1823;
    border-radius: 3px;
    bottom: 10px;
    content: '';
    height: 22px;
    left: 11px;
    position: absolute;
    width: 26px;
}

.gcw-modal__gift-icon::after {
    background: #f8ecec;
    content: '';
    height: 22px;
    left: 22px;
    position: absolute;
    top: 16px;
    width: 4px;
}

.gcw-modal__gift-icon > span::before,
.gcw-modal__gift-icon > span::after {
    border: 3px solid #8f1823;
    border-radius: 9px 9px 2px 9px;
    content: '';
    height: 10px;
    position: absolute;
    top: 6px;
    width: 12px;
}

.gcw-modal__gift-icon > span::before {
    left: 11px;
    transform: rotate(10deg);
}

.gcw-modal__gift-icon > span::after {
    border-radius: 9px 9px 9px 2px;
    right: 11px;
    transform: rotate(-10deg);
}

.gcw-modal__progress {
    align-items: center;
    display: flex;
}

.gcw-modal__step {
    align-items: center;
    background: transparent;
    border: 0;
    color: #8a8f94;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    gap: 8px;
    padding: 5px 0;
    white-space: nowrap;
}

.gcw-modal__step:hover:not(:disabled),
.gcw-modal__step:focus-visible {
    color: #8f1823;
    outline: none;
}

.gcw-modal__step:disabled {
    cursor: default;
}

.gcw-modal__step > span {
    align-items: center;
    background: #eceff1;
    border-radius: 50%;
    display: flex;
    font-size: 11px;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.gcw-modal__step._active {
    color: #32383e;
}

.gcw-modal__step._active > span {
    background: #8f1823;
    color: #fff;
}

.gcw-modal__progress-line {
    background: #dde1e4;
    height: 2px;
    margin: 0 10px;
    transition: background .2s ease;
    width: 34px;
}

.gcw-modal__progress-line._active {
    background: #8f1823;
}

.gcw-modal__close {
    align-items: center;
    background: #f5f3f0;
    border: 0;
    border-radius: 50%;
    color: #454b50;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    width: 42px;
}

.gcw-modal__close:hover,
.gcw-modal__close:focus-visible {
    background: #8f1823;
    color: #fff;
    outline: none;
    transform: rotate(4deg);
}

.gcw-modal__body {
    background: #fcfbfa;
    overflow-y: auto;
    padding: 28px;
}

.gcw-current-card-notice {
    align-items: center;
    background: #f3f8f3;
    border: 1px solid #cfe1d0;
    border-radius: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    margin-bottom: 22px;
    padding: 12px 14px;
}

.gcw-current-card-notice__check {
    align-items: center;
    background: #32713a;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 15px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.gcw-current-card-notice div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gcw-current-card-notice strong {
    color: #254e2a;
    font-size: 13px;
}

.gcw-current-card-notice div span {
    color: #58705b;
    font-size: 12px;
}

.gcw-current-card-notice button {
    background: transparent;
    border: 0;
    color: #8f1823;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gcw-view-heading {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gcw-view-heading h3,
.gcw-compose-form h3 {
    color: #20262c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 5px;
}

.gcw-view-heading p,
.gcw-compose-form > p {
    color: #697177;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.gcw-design-count {
    background: #f0eeeb;
    border-radius: 99px;
    color: #62686d;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    text-transform: uppercase;
}

.gcw-design-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gcw-design-grid--single {
    grid-template-columns: minmax(260px, 342px);
    justify-content: center;
}

.gcw-design-grid--double {
    grid-template-columns: repeat(2, minmax(260px, 342px));
    justify-content: center;
}

.gcw-design-card {
    background: #fff;
    border: 1px solid #e2ddd7;
    border-radius: 14px;
    box-shadow: 0 2px 7px rgba(30, 38, 45, .04);
    color: #252b30;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gcw-design-card:hover,
.gcw-design-card:focus-visible {
    border-color: #a9343e;
    box-shadow: 0 12px 28px rgba(74, 29, 33, .13);
    outline: none;
    transform: translateY(-3px);
}

.gcw-design-card._current {
    border-color: #58885d;
    box-shadow: 0 0 0 2px rgba(64, 122, 71, .13);
}

.gcw-design-card__current {
    background: #32713a;
    border-radius: 99px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    left: 10px;
    padding: 5px 8px;
    position: absolute;
    text-transform: uppercase;
    top: 10px;
    z-index: 2;
}

.gcw-design-card__image {
    aspect-ratio: 148 / 105;
    background: #f2efeb;
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gcw-design-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.gcw-design-card:hover .gcw-design-card__image img {
    transform: scale(1.025);
}

.gcw-design-card__footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 15px;
}

.gcw-design-card__footer > span:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gcw-design-card__footer strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gcw-design-card__footer small {
    color: #858b90;
    font-size: 11px;
    margin-top: 2px;
}

.gcw-design-card__arrow {
    align-items: center;
    background: #f5eeee;
    border-radius: 50%;
    color: #8f1823;
    display: flex;
    flex: 0 0 auto;
    font-size: 17px;
    height: 30px;
    justify-content: center;
    transition: background .18s ease, color .18s ease;
    width: 30px;
}

.gcw-design-card:hover .gcw-design-card__arrow {
    background: #8f1823;
    color: #fff;
}

.gcw-image-fallback {
    align-items: center;
    background: linear-gradient(145deg, #f5f2ee, #ebe6e0);
    color: #84817d;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 8px;
    inset: 0;
    justify-content: center;
    position: absolute;
}

.gcw-image-fallback[hidden] {
    display: none;
}

.gcw-image-fallback > span {
    border: 2px solid #aaa49e;
    border-radius: 3px;
    height: 24px;
    position: relative;
    width: 32px;
}

.gcw-image-fallback > span::after {
    border-bottom: 10px solid #aaa49e;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    bottom: 4px;
    content: '';
    left: 5px;
    position: absolute;
}

.gcw-design-grid--loading {
    pointer-events: none;
}

.gcw-design-skeleton {
    background: #fff;
    border: 1px solid #ebe7e2;
    border-radius: 14px;
    overflow: hidden;
}

.gcw-design-skeleton span {
    animation: gcw-shimmer 1.4s infinite linear;
    background: linear-gradient(90deg, #edeae6 25%, #f7f5f2 45%, #edeae6 65%);
    background-size: 250% 100%;
    display: block;
}

.gcw-design-skeleton span:first-child {
    aspect-ratio: 148 / 105;
}

.gcw-design-skeleton span:last-child {
    border-radius: 5px;
    height: 16px;
    margin: 18px 16px;
    width: 55%;
}

@keyframes gcw-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -150% 0; }
}

.gcw-empty-state {
    align-items: center;
    background: #f5f2ee;
    border: 1px dashed #d5cec6;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
}

.gcw-empty-state__icon {
    border: 2px solid #9c948d;
    border-radius: 4px;
    height: 32px;
    margin-bottom: 14px;
    width: 42px;
}

.gcw-empty-state h3 {
    font-size: 17px;
    margin: 0 0 5px;
}

.gcw-empty-state p {
    color: #757a7e;
    font-size: 13px;
    margin: 0;
}

.gcw-modal-error {
    align-items: center;
    background: #fff0f0;
    border: 1px solid #efc5c8;
    border-radius: 9px;
    color: #8f1823;
    display: flex;
    font-size: 13px;
    gap: 12px;
    justify-content: space-between;
    margin-top: 15px;
    padding: 11px 13px;
}

.gcw-modal-error button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
}

.gcw-modal-pagination {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 22px;
}

.gcw-modal-pagination button {
    background: #fff;
    border: 1px solid #d8d3cd;
    border-radius: 7px;
    cursor: pointer;
    height: 34px;
    width: 34px;
}

.gcw-modal-pagination button._active {
    background: #8f1823;
    border-color: #8f1823;
    color: #fff;
}

.gcw-compose-view {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
}

.gcw-compose-preview-column {
    min-width: 0;
}

.gcw-compose-preview-heading {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 11px;
}

.gcw-compose-preview-heading > span {
    color: #8f1823;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gcw-compose-preview-heading strong {
    color: #5b6268;
    font-size: 12px;
    font-weight: 600;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gcw-card-preview {
    aspect-ratio: 148 / 105;
    background: #f1ede8;
    border: 8px solid #fff;
    border-radius: 5px;
    box-shadow: 0 14px 35px rgba(37, 29, 24, .2), 0 0 0 1px #dcd5ce;
    container-type: inline-size;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gcw-card-preview > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gcw-card-preview__message {
    align-items: center;
    cursor: grab;
    display: flex;
    line-height: 1.25;
    overflow: hidden;
    padding: 1cqw;
    position: absolute;
    touch-action: none;
    user-select: none;
    white-space: pre-wrap;
}

.gcw-card-preview__message:focus-visible {
    outline: 0;
}

.gcw-card-preview__message:focus-visible > span {
    text-decoration: underline dashed currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.gcw-card-preview__message._dragging {
    cursor: grabbing;
}

.gcw-card-preview__message > span {
    max-height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
}

.gcw-preview-note {
    align-items: center;
    color: #747a80;
    display: flex;
    font-size: 11px;
    gap: 8px;
    margin: 13px 0 0;
}

.gcw-preview-note > span {
    align-items: center;
    border: 1px solid #989ea3;
    border-radius: 50%;
    display: flex;
    font-family: Georgia, serif;
    font-size: 10px;
    height: 17px;
    justify-content: center;
    width: 17px;
}

.gcw-compose-form {
    background: #fff;
    border: 1px solid #e2ddd7;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31, 38, 44, .06);
    padding: 24px;
}

.gcw-compose-form__eyebrow {
    margin-bottom: 5px;
}

.gcw-message-field {
    display: block;
    margin-top: 22px;
}

.gcw-message-field > span:first-child {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
}

.gcw-message-field strong {
    color: #353b40;
    font-size: 13px;
}

.gcw-message-field small {
    color: #858b90;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.gcw-message-field textarea {
    background: #fff;
    border: 1px solid #cfc9c3;
    border-radius: 9px 9px 0 0;
    color: #252a2f;
    display: block;
    font-size: 15px;
    line-height: 1.5;
    min-height: 150px;
    padding: 13px 14px;
    resize: vertical;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.gcw-message-field textarea:focus {
    border-color: #8f1823;
    box-shadow: 0 0 0 3px rgba(143, 24, 35, .1);
    outline: none;
}

.gcw-message-field__progress {
    background: #e8e4df;
    border-radius: 0 0 99px 99px;
    display: block;
    height: 4px;
    overflow: hidden;
}

.gcw-message-field__progress > span {
    background: #5b8760;
    display: block;
    height: 100%;
    transition: width .15s ease, background .15s ease;
}

.gcw-message-field__progress > span._near-limit {
    background: #c77822;
}

.gcw-text-customisation {
    border-top: 1px solid #ece6e1;
    margin-top: 18px;
    padding-top: 17px;
}

.gcw-text-customisation__heading,
.gcw-preview-position {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.gcw-text-customisation__heading > div,
.gcw-preview-position > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gcw-text-customisation__heading strong,
.gcw-preview-position strong {
    color: #353b40;
    font-size: 16px;
}

.gcw-text-customisation__heading span,
.gcw-preview-position span {
    color: #858b90;
    font-size: 14px;
    line-height: 1.35;
}

.gcw-text-customisation__heading button {
    background: transparent;
    border: 0;
    color: #8f1823;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gcw-text-customisation__style {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    margin-top: 15px;
}

.gcw-text-customisation__style label {
    display: block;
}

.gcw-text-customisation__style label > span {
    align-items: center;
    color: #596167;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: 6px;
}

.gcw-font-select {
    display: block;
    position: relative;
}

.gcw-font-select::after {
    border-bottom: 2px solid #8f1823;
    border-right: 2px solid #8f1823;
    content: '';
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: calc(50% - 6px);
    transform: rotate(45deg);
    width: 8px;
}

.gcw-text-customisation__style select {
    appearance: none;
    background: #fff;
    border: 1px solid #d7d0ca;
    border-radius: 9px;
    color: #353b40;
    font-size: 15px;
    min-height: 46px;
    padding: 10px 42px 10px 13px;
    width: 100%;
}

.gcw-text-customisation__font-size output {
    color: #8f1823;
    font-variant-numeric: tabular-nums;
}

.gcw-text-customisation__font-size input {
    accent-color: #8f1823;
    cursor: pointer;
    display: block;
    margin: 13px 0 0;
    width: 100%;
}

.gcw-text-alignment {
    margin-top: 19px;
}

.gcw-text-alignment > span {
    color: #596167;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gcw-text-alignment__options {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gcw-text-alignment__options button {
    background: #fff;
    border: 1px solid #ded8d2;
    border-radius: 9px;
    color: #677077;
    cursor: pointer;
    min-height: 42px;
    padding: 9px 10px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.gcw-text-alignment__options button svg {
    display: block;
    height: 21px;
    margin: 0 auto;
    width: 21px;
}

.gcw-text-alignment__options button._active {
    background: #f1efec;
    border-color: #bdb5ae;
    color: #2f353a;
    box-shadow: inset 0 0 0 1px rgb(47 53 58 / 6%);
}

.gcw-text-alignment__options button:hover,
.gcw-text-alignment__options button:focus-visible {
    background: #faf8f6;
    border-color: #a9a19a;
    color: #353b40;
    outline: none;
}

.gcw-preview-position {
    background: #faf8f6;
    border: 1px solid #ece6e1;
    border-radius: 8px;
    margin-top: 18px;
    padding: 18px 20px;
}

.gcw-position-nudge {
    display: grid;
    flex: 0 0 auto;
    gap: 4px;
    grid-template-areas:
        '. up .'
        'left center right'
        '. down .';
    grid-template-columns: repeat(3, 38px);
}

.gcw-position-nudge__up { grid-area: up; }
.gcw-position-nudge__left { grid-area: left; }
.gcw-position-nudge__center { grid-area: center; }
.gcw-position-nudge__right { grid-area: right; }
.gcw-position-nudge__down { grid-area: down; }

.gcw-position-nudge button {
    align-items: center;
    background: #fff;
    border: 1px solid #d8d0ca;
    border-radius: 8px;
    color: #8f1823;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    padding: 0;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    width: 38px;
}

.gcw-position-nudge button:hover,
.gcw-position-nudge button:focus-visible {
    background: #8f1823;
    border-color: #8f1823;
    color: #fff;
    outline: none;
}

.gcw-compose-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
}

.gcw-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.gcw-button--primary {
    background: #8f1823;
    color: #fff;
}

.gcw-button--primary:hover:not(:disabled) {
    background: #73121b;
    transform: translateY(-1px);
}

.gcw-button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.gcw-button__loading {
    align-items: center;
    display: flex;
    gap: 8px;
}

.gcw-button__loading > span {
    animation: gcw-spin .7s linear infinite;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    border-top-color: #fff;
    height: 15px;
    width: 15px;
}

@keyframes gcw-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .gcw-modal__header {
        grid-template-columns: 1fr 42px;
    }

    .gcw-modal__progress {
        background: #faf8f6;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        margin: 0 -28px -22px;
        padding: 10px 20px;
    }

    .gcw-design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gcw-compose-view {
        grid-template-columns: 1fr;
    }

    .gcw-compose-preview-column {
        margin: 0 auto;
        max-width: 620px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .gcw-modal {
        align-items: flex-end;
        padding: 0;
    }

    .gcw-modal__surface {
        border-radius: 18px 18px 0 0;
        max-height: 94vh;
    }

    .gcw-modal__header {
        gap: 12px;
        padding: 16px;
    }

    .gcw-modal__identity h2 {
        font-size: 19px;
    }

    .gcw-modal__eyebrow {
        display: none;
    }

    .gcw-modal__gift-icon {
        border-radius: 10px;
        height: 40px;
        transform: scale(.84);
        transform-origin: left center;
        width: 40px;
    }

    .gcw-modal__progress {
        margin: 0 -16px -16px;
    }

    .gcw-modal__step strong {
        font-size: 11px;
    }

    .gcw-modal__body {
        padding: 18px 16px;
    }

    .gcw-view-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .gcw-view-heading h3,
    .gcw-compose-form h3 {
        font-size: 19px;
    }

    .gcw-design-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .gcw-current-card-notice {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .gcw-current-card-notice button {
        grid-column: 2;
        justify-self: start;
        padding: 2px 0;
    }

    .gcw-compose-view {
        gap: 22px;
    }

    .gcw-compose-form {
        padding: 18px;
    }

    .gcw-text-customisation__style {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    .gcw-modal *,
    .gcw-modal *::before,
    .gcw-modal *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
