.root {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    background-color: var(--color-bg-neutral-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-bg-fill-alpha-black-10);
}

.productInfo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.productImage {
    display: block;
    margin-right: var(--spacing-16);
}

.textContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.title {
    width: 100%;
    color: var(--color-text-primary);
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.titleContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.description {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-4);
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--color-bg-fill-alpha-black-10);
}

.descriptionContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.price {
    color: var(--color-text-secondary);
}

.buttonContainer {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
}

.lg {
    padding: var(--spacing-12) var(--spacing-48) var(--spacing-12) var(--spacing-12);
}

.lg .productImage {
    width: 240px;
    height: 240px;
}

.lg .productImage.circle {
    aspect-ratio: 1;
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    padding: 20px;
}

.lg .textContainer {
    margin-right: var(--spacing-40);
}

.lg .titleContainer {
    padding: var(--spacing-12) 0;
}

.lg .descriptionContainer {
    padding: var(--spacing-12) 0;
}

.sm {
    padding: var(--spacing-12) var(--spacing-24) var(--spacing-12) var(--spacing-12);
    max-width: 623px;
}

.sm .productImage {
    max-width: 120px;
    max-height: 120px;
}

.sm .productImage.circle {
    aspect-ratio: 1;
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    padding: 10px;
}

.sm .textContainer {
    margin-right: var(--spacing-32);
}

.sm .titleContainer {
    padding: 0 0 var(--spacing-8) 0;
}

.sm .descriptionContainer {
    padding: var(--spacing-8) 0 0 0;
}

@media (width <= 768px) {
    .root {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
    }

    .productImage {
        margin: 0 auto var(--spacing-16) auto;
    }

    .textContainer {
        width: 100%;
        padding: 0 var(--spacing-24);
        margin-right: 0;
        margin-bottom: var(--spacing-24);
    }

    .buttonContainer {
        margin-left: 0;
    }

    .lg.root {
        padding: var(--spacing-12) 0 var(--spacing-24);
    }

    .lg .productInfo {
        flex-direction: column;
        align-items: flex-start;
    }

    .lg .productImage {
        max-width: 207px;
        max-height: 207px;
    }

    .lg .textContainer {
        margin-right: 0;
    }

    .lg .titleContainer {
        padding: 0 0 var(--spacing-12) 0;
    }

    .lg .descriptionContainer {
        padding: var(--spacing-12) 0 0 0;
    }

    .lg .description {
        margin-bottom: var(--spacing-8);
    }

    .lg .buttonContainer {
        padding: 0 var(--spacing-24);
    }

    .sm.root {
        padding: var(--spacing-12);
    }

    .sm .productInfo {
        flex-direction: row;
        width: 100%;
        margin-bottom: var(--spacing-20);
    }

    .sm .productImage {
        max-width: 96px;
        max-height: 96px;
        margin: 0 var(--spacing-8) 0 0;
    }

    .sm .textContainer {
        flex-grow: 1;
        margin: 0;
        padding: 0;
    }

    .sm .titleContainer {
        padding: 0 0 var(--spacing-8) 0;
    }

    .sm .descriptionContainer {
        padding: var(--spacing-8) 0 0 0;
    }

    .sm .description {
        margin-bottom: var(--spacing-4);
    }

    .sm .buttonContainer {
        padding: 0;
        width: 100%;
    }
}
