
:root {
    --bg: #111216;
    --footer: #033ef0;
    --storecolor-rgb: 50, 200, 255;
    --storecolor: rgb(var(--storecolor-rgb));
    --white: #f0f0f0;
    --dark: #1a1b21;
    --grey: #32343e;
    --text: #838383;
    --black-rgb: 0, 0, 0;
  }

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--grey);
    color: var(--white);
}

.embed-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.embed {
    max-width: 28rem;
    width: 100vh;
    height: auto;
    min-height: 35rem;
    border-radius: 1rem;
    background: linear-gradient(#1a1b21, rgba(var(--storecolor-rgb), .5), #1a1b21);
}

.embed-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    max-width: 26rem;
    width: 100vh;
    overflow: hidden;
    padding: 1rem;
}

.logo-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

.name {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-weight: 600;
    font-size: x-large;
}

.exit-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    border-radius: 24px;
    background-color: #d4d4d473;
    transition: all 250ms ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .5);
}

.exit-button:hover {
    background-color: #6e6e6eb0;
}

.exit-button i {
    transition: all 400ms ease;
}

.exit-button:hover i {
    transform: rotate(90deg);
}

.embed-center {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 30rem;
    border-radius: 1rem;
    background-color: var(--bg);
}

.embed-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 2rem;
    width: 100%;
}

.embed-content-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}


.embed-content-top-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.embed-content-top-img-name-price {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.embed-content-top-img {
    display: flex;
    justify-content: center;
    height: auto;
    width: 120px;
    background: #000000;
    border-radius: 8px;
}

.embed-content-top-img img {
    width: auto;
    height: 100%;
    object-fit:cover;
    border-radius: 8px;
    height: auto;
    width: 120px;
}

.embed-content-top-name-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.embed-content-top-name {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: large;
}

.embed-content-top-price span {
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: large;
}

.embed-content-top-amount span {
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: large;
}

.embed-content-top-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.5rem;
    width: 108px;
    background: #0000006b;
    padding: 5px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 250ms ease;
}

.amount {
    color: var(--white);
}

.embed-content-top-amount i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 24px;
    border-radius: 4px;
    transition: all 250ms ease;
}

.embed-content-top-amount i:hover {
    background-color: #83838344;
}

.embed-content-top-stock-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.embed-content-top-stock-amount span {
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: medium;
}


.embed-content-variants {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    gap: 1rem;
    height: auto;
}

.variant {
    width: 100%;
    border: 1px solid var(--storecolor);
    height: 5rem;
    border-radius: 8px;
    transition: all 200ms ease;
}

.variant:hover {
    box-shadow: 0 0 6px var(--storecolor);
}

.selected {
    background: rgba(var(--storecolor-rgb), .05);
}

.variant-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: calc(100% - 2rem);
    margin: 1rem;
}

.selected .variant-icon i{
    background-color: rgba(var(--storecolor-rgb), .5);
    border-radius: 1rem
}

.variant-icon {
    color: var(--storecolor);
}

.variant-name-price-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.variant-name-price {
    display: flex;
    flex-direction: column;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: medium;
}

.variant-stock span {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: medium;
}

.continue {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(var(--storecolor-rgb), .7);
    background-color: rgba(var(--storecolor-rgb), .1);
    height: 3rem;
    border-radius: 8px;
    color: var(--white);
    font-size: large;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    transition: all 250ms ease;
    margin-top: 1rem;
}

.continue:hover {
    background-color: #00000000;
}