.catalog-thumb {
    flex: 0 0 44px;
    height: 44px;
    width: 44px;
}

.catalog-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.store-progress-meter {
    appearance: none;
    background: #ffffff;
    border: 1px solid #211f1f;
    border-radius: 999px;
    height: .75rem;
    overflow: hidden;
    width: 100%;
}

.store-progress-meter::-webkit-progress-bar {
    background: #ffffff;
}

.store-progress-meter::-webkit-progress-value {
    background: #c6d99a;
}

.store-progress-meter::-moz-progress-bar {
    background: #c6d99a;
}

[x-cloak] {
    display: none !important;
}

.btn-google {
    align-items: center;
    background: #fffdf5;
    border: 1px solid #211f1f;
    border-radius: 999px;
    color: #211f1f;
    display: flex;
    font-weight: 900;
    gap: .75rem;
    justify-content: center;
    min-height: 3rem;
    padding: .72rem 1rem;
    text-decoration: none;
    width: 100%;
}

.btn-google:hover {
    background: #f7f3e9;
}

.btn-google svg {
    flex: 0 0 1.2rem;
    height: 1.2rem;
    width: 1.2rem;
}

.login-divider {
    margin: .9rem 0 .75rem;
}

.checkout-field-card {
    background: #fffdf5;
    border: 1px solid rgba(33, 31, 31, .32);
    border-radius: .55rem;
    display: block;
    padding: .85rem;
}

.checkout-field-head {
    align-items: center;
    display: flex;
    gap: .55rem;
    justify-content: space-between;
}

.checkout-field-head > span:first-child {
    font-size: .83rem;
    font-weight: 900;
}

.checkout-field-head > span:last-child {
    background: #f7b1c8;
    border: 1px solid #211f1f;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    padding: .28rem .5rem;
    text-transform: uppercase;
}

.checkout-field-help {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: .45rem;
    opacity: .72;
}

.checkout-field-card .field {
    font-size: .86rem;
    min-height: 2.6rem;
    margin-top: .7rem;
    padding: .58rem .75rem;
}

.checkout-field-card textarea.field {
    min-height: 4.2rem;
}

.checkout-field-card .field::placeholder {
    font-size: .82rem;
}

.profile-modal-actions {
    margin-top: 2.75rem;
}

.order-card-progress {
    background: #fffdf5;
    border: 1px solid rgba(33, 31, 31, .28);
    border-radius: .55rem;
    padding: .75rem;
}

.order-card-progress-head {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.order-card-progress-head span,
.order-card-progress-head strong {
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-card-progress p {
    font-size: .75rem;
    font-weight: 700;
    margin-top: .45rem;
    opacity: .75;
}

.order-tracking-list {
    display: grid;
    gap: 0;
}

.order-tracking-item {
    display: grid;
    gap: .85rem;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    position: relative;
}

.order-tracking-item:not(:last-child)::before {
    background: #211f1f;
    bottom: -.2rem;
    content: "";
    left: 1.15rem;
    opacity: .28;
    position: absolute;
    top: 2.6rem;
    width: 1px;
}

.order-tracking-marker {
    align-items: center;
    display: flex;
    justify-content: center;
    padding-top: .15rem;
    position: relative;
    z-index: 1;
}

.order-tracking-marker span {
    align-items: center;
    background: #fffdf5;
    border: 1px solid #211f1f;
    border-radius: 999px;
    display: flex;
    font-size: .78rem;
    font-weight: 900;
    height: 2.3rem;
    justify-content: center;
    width: 2.3rem;
}

.order-tracking-content {
    align-items: center;
    background: #fffdf5;
    border: 1px solid rgba(33, 31, 31, .35);
    border-radius: .55rem;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .75rem;
    min-height: 3.3rem;
    padding: .8rem .95rem;
}

.order-tracking-content p {
    font-size: .9rem;
    font-weight: 800;
}

.order-tracking-content strong {
    border: 1px solid #211f1f;
    border-radius: 999px;
    font-size: .7rem;
    line-height: 1;
    padding: .35rem .65rem;
    white-space: nowrap;
}

.order-tracking-item.is-completed .order-tracking-marker span,
.order-tracking-item.is-completed .order-tracking-content strong {
    background: #c6d99a;
}

.order-tracking-item.is-waiting .order-tracking-marker span,
.order-tracking-item.is-waiting .order-tracking-content strong {
    background: #b7dfe6;
}

.store-header {
    overflow-x: clip;
}

.store-header-inner,
.store-header-actions,
.catalog-card,
.catalog-card-main,
.catalog-card-body {
    min-width: 0;
}

.store-header-actions .btn-soft,
.store-header-actions .btn-ink,
.catalog-modal-actions .btn-soft,
.catalog-modal-actions .btn-ink,
.product-actions .btn-soft,
.product-actions .btn-ink {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.catalog-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card-main {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.catalog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.catalog-card-title {
    display: -webkit-box;
    min-height: 3.75rem;
    overflow-wrap: anywhere;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-card-actions,
.catalog-card-price,
.catalog-modal-actions,
.product-actions {
    flex-wrap: wrap;
}

.catalog-card-actions,
.catalog-card-price {
    margin-top: auto;
}

.catalog-modal-panel {
    max-width: min(56rem, calc(100vw - 2rem));
}

.category-rank-scroll {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    width: 100%;
}

.category-rank-group {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
}

.category-rank-card {
    align-items: center;
    display: flex;
    flex: 0 0 205px;
    flex-direction: column;
    justify-content: center;
    min-height: 138px;
    width: 205px;
}

.category-rank-card > span:first-child {
    margin-bottom: 1.25rem;
}

.category-rank-card .display-serif {
    font-size: 1.55rem;
    line-height: 1.08;
    margin-top: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: balance;
    word-break: normal;
}

.order-flow-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
}

.order-flow-steps::before {
    background: #211f1f;
    content: "";
    height: 2px;
    left: 10%;
    position: absolute;
    right: 10%;
    top: 1.4rem;
}

.order-flow-step {
    display: grid;
    gap: .85rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.order-flow-marker {
    align-items: center;
    background: #c6d99a;
    border: 1px solid #211f1f;
    border-radius: 999px;
    display: flex;
    font-size: .85rem;
    font-weight: 900;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.order-flow-badge {
    background: #f7b1c8;
    border: 1px solid #211f1f;
    border-radius: 999px;
    display: inline-flex;
    font-size: .58rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: .35rem;
    padding: .25rem .5rem;
    text-transform: uppercase;
}

.order-flow-card {
    min-height: 9.5rem;
    text-align: center;
}

.marquee-strip {
    --marquee-gap: 1.15rem;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    animation: marquee-scroll 96s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex: 0 0 auto;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap);
}

.marquee-group span {
    display: inline-flex;
}

.review-summary {
    align-items: stretch;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 400px minmax(0, 1fr);
    justify-content: stretch;
    width: 100%;
}

.product-review-card {
    margin-bottom: 2rem;
}

.order-detail-hero {
    align-items: stretch;
    background: #fffdf5;
    border: 0;
    border-radius: .65rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) max-content;
    padding: 0;
}

.order-detail-hero-main {
    min-width: 0;
}

.order-detail-kicker {
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.order-detail-order-number {
    font-size: clamp(1.65rem, 4.3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.order-detail-meta-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.15rem;
}

.order-detail-status-pill,
.order-detail-date-chip {
    align-items: center;
    border: 1px solid #211f1f;
    border-radius: 999px;
    display: inline-flex;
    min-height: 1.75rem;
}

.order-detail-status-pill {
    background: #c6d99a;
    font-size: .72rem;
    font-weight: 900;
    padding: .32rem .72rem;
}

.order-detail-date-chip {
    background: #b7dfe6;
    gap: .3rem;
    padding: .32rem .66rem;
    font-size: .72rem;
}

.order-detail-date-chip strong {
    font-weight: 900;
}

.order-detail-print-link {
    align-self: start;
    justify-content: center;
    font-size: .78rem;
    min-height: 2.2rem;
    padding: .42rem .9rem;
    text-align: center;
    white-space: nowrap;
}

.order-customer-card {
    background: #fffdf5;
    border: 1px solid #211f1f;
    border-radius: .65rem;
    padding: 1rem;
}

.order-customer-heading,
.order-customer-subheading {
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.order-customer-grid,
.order-personalization-grid {
    display: grid;
    gap: .75rem;
}

.order-customer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .9rem;
}

.order-customer-item {
    background: #fffdf5;
    border: 1px solid rgba(33, 31, 31, .28);
    border-radius: .5rem;
    min-width: 0;
    padding: .75rem;
}

.order-customer-item span {
    display: block;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: .45rem;
    opacity: .7;
    text-transform: uppercase;
}

.order-customer-item strong {
    display: block;
    font-size: .88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.order-personalization-box {
    border-top: 1px solid rgba(33, 31, 31, .28);
    margin-top: 1rem;
    padding-top: 1rem;
}

.order-personalization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: .75rem;
}

.order-empty-personalization {
    background: #b7dfe6;
    border: 1px solid #211f1f;
    border-radius: .5rem;
    font-size: .85rem;
    font-weight: 700;
    grid-column: 1 / -1;
    padding: .8rem;
}

.order-receipt-compact {
    font-size: .78rem;
}

.order-receipt-heading {
    align-items: center;
    background: #fffdf5;
    border-bottom: 1px solid rgba(33, 31, 31, .3);
    display: flex;
    justify-content: space-between;
    padding: .75rem .95rem;
}

.order-receipt-heading p {
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.order-receipt-heading span {
    font-size: .68rem;
    font-weight: 900;
    opacity: .7;
    text-transform: uppercase;
}

.order-receipt-compact-row {
    align-items: center;
    display: grid;
    gap: .9rem;
    grid-template-columns: 48px minmax(0, 1fr) minmax(135px, max-content);
    min-height: 4.6rem;
    padding: .85rem .95rem;
}

.order-receipt-compact-thumb,
.order-receipt-compact-mid {
    border: 1px solid #211f1f;
    border-radius: .35rem;
    display: block;
    height: 2.75rem !important;
    max-height: 2.75rem !important;
    max-width: 2.75rem !important;
    min-height: 2.75rem;
    min-width: 2.75rem;
    object-fit: cover;
    width: 2.75rem !important;
}

.order-receipt-compact-mid {
    align-items: center;
    display: flex;
    font-size: .65rem;
    font-weight: 900;
    justify-content: center;
}

.order-receipt-compact p {
    line-height: 1.25;
}

.order-receipt-muted {
    font-size: .72rem;
    line-height: 1.3;
    opacity: .75;
}

.order-receipt-meta-pill,
.order-payment-tags span {
    border: 1px solid rgba(33, 31, 31, .35);
    border-radius: 999px;
    display: inline-flex;
    font-size: .66rem;
    font-weight: 900;
    line-height: 1;
    margin-top: .42rem;
    padding: .32rem .5rem;
}

.order-receipt-meta-pill {
    background: #b7dfe6;
}

.order-payment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.order-payment-tags span {
    background: #fffdf5;
}

.order-receipt-price-box {
    display: grid;
    gap: .18rem;
    justify-items: end;
    text-align: right;
}

.order-receipt-price-box span {
    font-size: .68rem;
    opacity: .7;
}

.order-receipt-price-box strong {
    font-size: .86rem;
    line-height: 1.15;
}

.order-receipt-compact-action {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 4rem;
    padding: .85rem .95rem;
}

.order-receipt-compact-action .btn-ink {
    min-height: 2.3rem;
    padding: .55rem 1rem;
}

@media (max-width: 767px) {
    .order-tracking-content {
        align-items: flex-start;
        flex-direction: column;
        gap: .55rem;
    }

    .order-detail-hero {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .order-detail-order-number {
        font-size: clamp(1.55rem, 10vw, 2.1rem);
    }

    .order-detail-meta-row {
        align-items: stretch;
        flex-direction: column;
        gap: .45rem;
    }

    .order-detail-status-pill,
    .order-detail-date-chip,
    .order-detail-print-link {
        justify-content: center;
        width: 100%;
    }

    .order-customer-grid,
    .order-personalization-grid {
        grid-template-columns: 1fr;
    }

    .order-receipt-compact-row {
        align-items: start;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .order-receipt-compact-action {
        align-items: stretch;
        flex-direction: column;
    }

    .order-receipt-price-box {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }
}

.review-rating-row {
    align-items: center;
    display: grid;
    column-gap: .9rem;
    grid-template-columns: 42px minmax(0, 1fr) 36px;
}

.review-rating-row > span:first-child {
    justify-self: end;
}

.review-rating-bar {
    min-width: 0;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .store-header-inner {
        align-items: flex-start;
        gap: .75rem;
        padding-block: .75rem;
    }

    .store-header-inner > a {
        font-size: 2rem;
        line-height: 1;
    }

    .store-header-actions {
        display: flex;
        gap: .45rem;
        justify-content: flex-end;
        min-width: 0;
    }

    .store-header-actions .btn-soft,
    .store-header-actions .btn-ink {
        border-radius: .75rem;
        font-size: .78rem;
        padding: .5rem .7rem;
        width: auto;
    }

    .store-footer {
        padding-block: 2rem;
    }

    .store-footer > div {
        gap: 1.25rem;
    }

    .catalog-hero {
        padding-block: 2rem;
    }

    .catalog-hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
        line-height: .95;
    }

    .catalog-hero p {
        font-size: .95rem;
    }

    .catalog-page {
        padding-block: 1.5rem;
    }

    .catalog-filter {
        border-radius: .75rem;
        padding: .75rem;
    }

    .catalog-search-row {
        grid-template-columns: minmax(0, 1fr) 3rem;
    }

    .catalog-search-row .btn-ink {
        grid-column: 1 / -1;
        height: 2.85rem;
        width: 100%;
    }

    .catalog-filter-panel {
        grid-template-columns: 1fr;
    }

    .catalog-list-grid {
        gap: .75rem;
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .catalog-card {
        border-radius: .75rem;
    }

    .catalog-card-main {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .catalog-card-image {
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    .catalog-card-body {
        padding: .75rem;
    }

    .catalog-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
        font-size: .65rem;
    }

    .catalog-card-meta span:first-child {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .catalog-card-title {
        font-size: 1.25rem;
        margin-top: .55rem;
        min-height: 3.125rem;
    }

    .catalog-card-price {
        gap: .25rem .5rem;
        margin-top: .55rem;
    }

    .catalog-card-price .text-lg {
        font-size: .98rem;
    }

    .catalog-card-actions button {
        padding-block: .75rem;
    }

    .category-rank-scroll {
        justify-content: flex-start;
        overflow-x: visible;
        padding-bottom: .25rem;
    }

    .category-rank-group {
        display: grid;
        flex: 1 1 auto;
        gap: .65rem;
        width: 100%;
    }

    .category-rank-card {
        align-items: center;
        display: grid;
        flex: none;
        grid-template-columns: auto minmax(0, 1fr) auto;
        justify-content: stretch;
        min-height: auto;
        padding: .8rem 1rem;
        text-align: left;
        width: 100%;
    }

    .category-rank-card > span:first-child {
        justify-self: start;
        margin-bottom: 0;
        margin-right: .7rem;
        padding: .35rem .55rem;
    }

    .category-rank-card .display-serif {
        font-size: 1.1rem;
        line-height: 1.05;
        margin-top: 0;
        text-wrap: auto;
    }

    .category-rank-card p:last-child {
        font-size: .68rem;
        justify-self: end;
        margin-top: 0;
        white-space: nowrap;
    }

    .order-flow-steps {
        gap: .85rem;
        grid-template-columns: 1fr;
    }

    .order-flow-steps::before {
        bottom: 1.5rem;
        height: auto;
        left: 1.4rem;
        right: auto;
        top: 1.5rem;
        width: 2px;
    }

    .order-flow-step {
        align-items: stretch;
        display: grid;
        gap: .75rem;
        grid-template-columns: 2.8rem minmax(0, 1fr);
        justify-items: stretch;
    }

    .order-flow-marker {
        align-self: start;
    }

    .order-flow-card {
        min-height: auto;
        padding: .85rem 1rem;
        text-align: left;
    }

    .order-flow-card .display-serif {
        font-size: 1.35rem;
    }

    section h2.display-serif.text-5xl {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
    }

    .cart-page {
        padding-block: 1.5rem;
    }

    .cart-page h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .cart-item-image {
        height: 88px;
        width: 88px;
    }

    .cart-item-body {
        min-width: 0;
    }

    .cart-item-body h2 {
        overflow-wrap: anywhere;
    }

    .cart-item form {
        grid-column: 1 / -1;
    }

    .cart-item .btn-soft {
        width: 100%;
    }

    .catalog-modal {
        align-items: stretch;
        padding: .65rem;
    }

    .catalog-modal-panel {
        border-radius: .75rem;
        max-height: calc(100vh - 1.3rem);
        max-width: none;
    }

    .catalog-modal-grid {
        grid-template-columns: 1fr;
    }

    .catalog-modal-grid > div {
        padding: .85rem;
    }

    .catalog-modal-grid h2 {
        font-size: 1.75rem;
    }

    .catalog-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .catalog-modal-actions form,
    .catalog-modal-actions a,
    .catalog-modal-actions button,
    .product-actions form,
    .product-actions a,
    .product-actions button,
    .product-actions span {
        width: 100%;
    }

    .product-detail {
        gap: 1.25rem;
        padding-block: 1.5rem;
    }

    .product-detail h1 {
        font-size: clamp(2rem, 13vw, 3.5rem);
    }

    .product-detail .text-3xl {
        font-size: 1.5rem;
    }

    .product-detail [aria-label^="Gambar"] {
        height: 2.25rem;
        width: 2.25rem;
    }

    .product-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .review-summary {
        grid-template-columns: 1fr;
    }

    .paper-grid .text-6xl,
    section .text-6xl {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    section .text-5xl {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    section .text-4xl {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    section .text-3xl {
        font-size: clamp(1.4rem, 7vw, 1.875rem);
    }

    .btn-ink,
    .btn-soft {
        border-radius: .75rem;
    }

    main section {
        overflow-x: clip;
    }

    main img {
        max-width: 100%;
    }

    main .rounded-lg {
        border-radius: .75rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .catalog-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.order-detail-page {
    background: #f3f4f8;
    padding: 3rem 1rem;
}

.order-detail-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    color: #1f2937;
    margin: 0 auto;
    max-width: 760px;
    overflow: hidden;
}

.order-detail-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 2rem 2rem 1.25rem;
}

.order-detail-header h1,
.order-context-card h2,
.order-history-heading h2 {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.order-detail-header h1 {
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    line-height: 1.1;
}

.order-detail-header p {
    color: #7b8494;
    font-size: .88rem;
    margin-top: .35rem;
}

.order-detail-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.order-status-pill {
    border: 1px solid #111827;
    border-radius: 999px;
    color: #111827;
    font-size: .74rem;
    font-weight: 800;
    padding: .25rem .7rem;
}

.order-print-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    color: #1f2937;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    min-height: 42px;
    padding: .65rem 1rem;
    white-space: nowrap;
}

.order-receipt-panel {
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    margin: 0 2rem 1.5rem;
    overflow: hidden;
}

.order-receipt-row,
.order-pay-action {
    align-items: center;
    border-bottom: 1px solid #edf0f4;
    display: grid;
    gap: .85rem;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: .95rem 1rem;
}

.order-receipt-row:last-child,
.order-pay-action:last-child {
    border-bottom: 0;
}

.order-product-thumb,
.order-payment-icon {
    border-radius: 10px;
    height: 44px;
    width: 44px;
}

.order-product-thumb {
    object-fit: cover;
}

.order-product-thumb-empty {
    background: linear-gradient(135deg, #f7b1c8, #b7dfe6 55%, #c6d99a);
}

.order-payment-icon {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    display: flex;
    font-size: .72rem;
    font-weight: 900;
    justify-content: center;
}

.order-receipt-main p,
.order-receipt-price span,
.order-pay-action p {
    color: #697386;
    font-size: .82rem;
}

.order-receipt-name {
    color: #1f2937 !important;
    font-size: .9rem !important;
    font-weight: 900;
}

.order-receipt-price {
    display: grid;
    gap: .15rem;
    justify-items: end;
    text-align: right;
}

.order-receipt-price strong {
    font-size: .9rem;
}

.order-payment-row {
    background: #fbfcfe;
}

.order-pay-action {
    background: #fffdf5;
    grid-template-columns: minmax(0, 1fr) auto;
}

.order-detail-tabs {
    border-top: 1px solid #edf0f4;
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: 1.2rem 2rem .8rem;
}

.order-detail-tabs span {
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    color: #5f6b7a;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 800;
    padding: .55rem 1rem;
}

.order-detail-tabs .active {
    background: #20c997;
    border-color: #20c997;
    color: #ffffff;
}

.order-detail-content-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
    padding: 0 2rem 1.5rem;
}

.order-history-card,
.order-context-card {
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 1rem;
}

.order-history-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.order-history-heading h2,
.order-context-card h2 {
    font-size: 1.05rem;
}

.order-section-kicker {
    color: #96a0af;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: .3rem;
    text-transform: uppercase;
}

.order-timeline {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.3rem;
    position: relative;
}

.order-timeline::before {
    background: #e4e7ec;
    bottom: .35rem;
    content: "";
    left: 8px;
    position: absolute;
    top: .35rem;
    width: 2px;
}

.order-timeline-item {
    display: grid;
    gap: .85rem;
    grid-template-columns: 18px minmax(0, 1fr);
    position: relative;
}

.order-timeline-item > span {
    background: #a8b3c4;
    border: 3px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px #d8dde6;
    height: 12px;
    margin-left: 3px;
    margin-top: .2rem;
    width: 12px;
    z-index: 1;
}

.order-timeline-item.is-done > span {
    background: #20c997;
    box-shadow: 0 0 0 1px #20c997;
}

.order-timeline-item p {
    font-size: .9rem;
    font-weight: 900;
}

.order-timeline-item small,
.order-context-card p,
.order-personalization-list span,
.order-activity-list p,
.order-review-submitted span {
    color: #697386;
    font-size: .82rem;
}

.order-side-details {
    display: grid;
    gap: 1rem;
}

.order-personalization-list,
.order-activity-list {
    display: grid;
    gap: .75rem;
}

.order-personalization-list div {
    border-top: 1px solid #edf0f4;
    display: grid;
    gap: .15rem;
    padding-top: .75rem;
}

.order-preview-card {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin: 0 2rem 1rem;
}

.order-detail-card > .order-context-card:not(.order-preview-card) {
    margin: 0 2rem 1rem;
}

.order-review-item {
    border-top: 1px solid #edf0f4;
    margin-top: .85rem;
    padding-top: .85rem;
}

.order-review-submitted {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    margin-top: .65rem;
    padding: .75rem;
}

.order-empty-text {
    color: #697386;
    font-size: .86rem;
}

@media (max-width: 767px) {
    .order-detail-page {
        padding: 1rem;
    }

    .order-detail-card {
        border-radius: 14px;
    }

    .order-detail-header,
    .order-receipt-panel,
    .order-detail-tabs,
    .order-detail-content-grid,
    .order-preview-card,
    .order-detail-card > .order-context-card:not(.order-preview-card) {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .order-detail-header,
    .order-detail-tabs {
        padding-left: 0;
        padding-right: 0;
    }

    .order-detail-header {
        flex-direction: column;
        padding-top: 1.25rem;
    }

    .order-receipt-panel {
        margin-bottom: 1rem;
    }

    .order-receipt-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .order-receipt-price {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }

    .order-pay-action {
        grid-template-columns: 1fr;
    }

    .order-pay-action form,
    .order-pay-action button {
        width: 100%;
    }

    .order-detail-content-grid {
        grid-template-columns: 1fr;
        padding: 0 0 1rem;
    }
}

/* Keep the order-detail layout inspired by the reference, but in the InviteMe theme. */
.order-detail-page {
    background: #fffdf5;
}

.order-detail-card {
    background: #f7b1c8;
    border: 1px solid #211f1f;
    border-radius: .5rem;
    box-shadow: none;
    color: #211f1f;
}

.order-detail-header h1,
.order-context-card h2,
.order-history-heading h2 {
    color: #211f1f;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
}

.order-detail-header p,
.order-receipt-main p,
.order-receipt-price span,
.order-pay-action p,
.order-timeline-item small,
.order-context-card p,
.order-personalization-list span,
.order-activity-list p,
.order-review-submitted span,
.order-empty-text {
    color: #211f1f;
}

.order-status-pill,
.order-print-button,
.order-receipt-panel,
.order-history-card,
.order-context-card,
.order-review-submitted {
    border-color: #211f1f;
}

.order-print-button,
.order-receipt-panel,
.order-history-card,
.order-context-card {
    background: #fffdf5;
    border-radius: .5rem;
}

.order-receipt-row,
.order-pay-action,
.order-personalization-list div,
.order-receipt-panel,
.order-detail-tabs,
.order-timeline::before {
    border-color: rgba(33, 31, 31, .3);
}

.order-receipt-panel {
    border-color: #211f1f;
}

.order-product-thumb,
.order-payment-icon {
    border: 1px solid #211f1f;
    border-radius: .45rem;
}

.order-payment-icon,
.order-payment-row,
.order-review-submitted {
    background: #c6d99a;
}

.order-product-thumb-empty {
    background: linear-gradient(135deg, #f7b1c8, #b7dfe6 55%, #c6d99a);
}

.order-detail-tabs span {
    background: #fffdf5;
    border-color: #211f1f;
    color: #211f1f;
}

.order-detail-tabs .active {
    background: #c6d99a;
    border-color: #211f1f;
    color: #211f1f;
}

.order-section-kicker {
    color: #211f1f;
}

.order-timeline-item > span {
    background: #fffdf5;
    border-color: #fffdf5;
    box-shadow: 0 0 0 1px #211f1f;
}

.order-timeline-item.is-done > span {
    background: #c6d99a;
    box-shadow: 0 0 0 1px #211f1f;
}


/* Interactive customer review stars */
.review-stars {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-top: .5rem;
}

.review-star-item {
    position: relative;
}

.review-star-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.review-star-label {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    cursor: pointer;
    border-radius: .375rem;
    transition: transform .15s ease, box-shadow .15s ease;
}

.review-star-label:hover {
    transform: scale(1.1);
}

.review-star-input:focus-visible + .review-star-label {
    outline: 2px solid #211f1f;
    outline-offset: 2px;
}

.review-star-icon {
    width: 2rem;
    height: 2rem;
    transition: fill .15s ease;
}
