:root {
    --active-brightness: 0.85;
    --border-radius: 10px;
    --box-shadow: 2px 2px 10px;
    --color-accent: #118bee15;
    --color-bg: #fff;
    --color-bg-secondary: rgb(213, 209, 209);
    --color-link: #118bee;
    --color-secondary: #920de9;
    --color-secondary-accent: #920de90b;
    --color-shadow: #f4f4f4;
    --color-table: #118bee;
    --color-text: #000;
    --color-text-secondary: #999;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --hover-brightness: 1.2;
    --justify-important: center;
    --justify-normal: left;
    --justify-right: right;
    --line-height: 1.5;
    --width-card: 285px;
    --width-card-medium: 460px;
    --width-card-wide: 800px;
    --width-content: 1080px;
}

#global_header {
    border-bottom: 1px solid #ccc;
}

body {
    background: white;
}

.content_wrap_core {
    margin-top: 0;
}

#content_sub_navigation {
    display: none;
}

.purchase_info_block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.purchase_info_block img {
    margin-right: 10px;
}

.purchase_info_block p {
    font-size: small;
}

#product-license-selection {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    padding-bottom: 10px;
    box-shadow: 0 0 10px #aba8a8;
}

/* Tables */
table {
    border: 1px solid var(--color-bg-secondary);
    border-radius: var(--border-radius);
    border-spacing: 0;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    padding: 0;
    white-space: nowrap;

}

.title-block {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.title-block img {
    width: 60px;
}

h1,
h2 {
    font-size: 1.4rem;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

h2 {
    font-size: 1.2rem;
    margin: 1rem 0;
    width: 100%;
}

h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

#page-header-product-title-container {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 5px 15px 5px;
    background: #e5eff8;
}

.switchPlatformLink {
    font-size: .9em;
    margin-bottom: 20px;
    cursor: pointer;
    line-height: 0;
    text-align: right;
}

.switchPlatformLink img {
    width: 25px;
    margin-right: 5px
}

.switchPlatformLink p {
    display: inline-block;
    color: #565656;
    margin: 0;
    line-height: normal;
    text-decoration: underline;
}

.switchPlatformLink img,
.switchPlatformLink p {
    vertical-align: middle;
}

.switchPlatformLink p:hover {
    color: #212121
}

table td,
table th,
table tr {
    padding: 0.4rem 0.8rem;
    text-align: var(--justify-important);
}

table thead {
    background-color: var(--color-table);
    border-collapse: collapse;
    border-radius: var(--border-radius);
    color: var(--color-bg);
    margin: 0;
    padding: 0;
    width: 100%;
}

table thead th:first-child {
    border-top-left-radius: var(--border-radius);
}

table thead th:last-child {
    border-top-right-radius: var(--border-radius);
    text-align: var(--justify-right);
}

table thead th:first-child,
table tr td:first-child {
    text-align: var(--justify-normal);
}

table tr td:last-child {
    text-align: var(--justify-right);
}

table tr:nth-child(even) {
    background-color: var(--color-accent);
}

.page-container {
    max-width: 1000px;
    margin: 0 auto 2em auto;
    padding-left: 1em;
    padding-right: 1em;
}

.grid {
    display: block;
    padding-top: 15px;
}

.grid>* {
    padding: 1rem;
}

#left-side {
    border-right: 1px var(--color-accent) solid;
    padding-top: 0;
}

.custom-dropdown {
    margin: 10px 0 0 20px;
}

.custom-dropdown h2 {
    margin-top: 10px;
}

.custom-dropdown label {
    margin-right: 10px;
}

.custom-dropdown select {
    width: 220px;
    ;
    padding: 7px;
    border-radius: 8px;
    border-color: #ababab;
    font-size: 0.9em;
    font-family: 'Roboto', Tahoma, sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23196eaf' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: 100%;
    cursor: pointer;
}

.custom-dropdown select:hover {
    border-color: #196eaf;
}

#right-side {
    padding: 10px;
    padding-top: 0;
}

.store-page #right-side {
    position: sticky;
    top: 10vh;
    max-height: 700px;
}

.store-page h3 {
    padding: 0;
}


/* cross sell */
#pc_other_products {
    opacity: 1;
    height: auto;
    max-width: 600px;
    margin: 0 auto 30px;
    clear: both;
}

h2.pur_other_prods {
    text-align: left;
    font-size: 1.1rem;
    margin-top: 60px;
}

#pc_other_products .pur_prod {
    border: 1px solid var(--color-bg-secondary);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pur_prods,
.pur_prods h3,
.pur_prods p {
    max-width: none;
    margin: 0;
}

.pur_icon,
.pur_price,
.pur_discount,
.pur_add {
    display: block;
}

.pur_des {
    padding: 0;
    width: inherit;
}

.pur_icon {
    width: 64px;
}

.pur_action {
    text-align: center;
}

.pur_add {
    background: none;
    color: #4b4b4b;
    border: 1px solid #d5d1d1;
    border-radius: 10px;
    width: 130px;
}

#cross_sell_price {
    font-weight: bold;
    font-size: 0.8rem;
    min-height: 20px;
    color: #0074d3;
}

.full_price {
    color: #828282;
    text-decoration: line-through;
    font-weight: normal;
}

.circle-icon {
    width: 20px;
    height: 20px;
    color: #4b4b4b;
    font-size: 16px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #4b4b4b;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
    margin-right: 8px;
    line-height: 15px;
}

@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: 55% 45%;
        padding-top: 5px;
    }

    #scroll_to_checkout {
        display: none !important;
    }
}

.items-table {
    table-layout: fixed;
    width: 100%;
    margin: 0;
    background-color: #f9f9f9;
    overflow: inherit;
    white-space: normal;
}

tr,
td {
    width: 30%;
}

.items-table-head {
    display: table-header-group;
    font-weight: bold;
}

.items-table th,
.items-table td {
    padding: 8px;
    box-sizing: border-box;
    width: 50%;
    min-width: 50px;
}

#totals-table {
    border: none;
    float: right;
    font-size: default;
}

#totals-table tr:nth-child(even) {
    background-color: transparent;
}

#total-amount-row {
    font-weight: bold;
    font-size: large;
}

.license-option {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: color #efeff8;
    transition: background 0.3s;
}

.license-option.selected {
    background-color: #cbe7ff;
}

.license-option:hover, .license-option:hover input,
.license-option:hover label {
    cursor: pointer;
}

.license-option-price {
    float: right;
    vertical-align: top;
    font-size: larger;
    font-weight: bold;
    margin-right: 5px;
}

.license-option-title {
    font-weight: bold;
    font-size: large;
}

.license-option-feature-list {
    font-size: smaller;
    padding: 0;
    margin: 5px 0 0 40px;
}
.most-popular-badge{
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c8120;
    color: #fff;
    font-weight: bold;
    font-size: 0.8em;
	line-height: normal;
    border-radius: 50%;
    width: 50px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 3px solid #fff;
    z-index: 2;
    text-align: center;
    padding: 0 8px;
    pointer-events: none;
    white-space: pre-line;
}
.device-info{
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    font-size: 14px;
}


/* Hide the mobile picker by default - TouchCopyMobilePlatformPicker */
#mobile {
    display: none;
}

@media (min-width: 768px) and (max-width: 950px) {
    .store-page .pur_prod {
        flex-direction: column;
    }

    .store-page .pur_des {
        flex-grow: 1;
        text-align: center;
    }

    .store-page .pur_price {
        display: flex;
        max-width: none;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
        box-sizing: border-box;
        margin-bottom: 8px;
    }

    .store-page .pur_price .buy-now {
        margin: 0 0 0 10px;
        padding: 5px 10px;
    }
}

/* Show the mobile picker only on devices with width < 767px */
@media (max-width: 767px) {

    /* Hide the mobile picker by default - TouchCopyMobilePlatformPicker
    #mobile,
    .store-page .grid {
        display: block;
    }

    .grid {
        display: none;
    }

    .mobile-platform-chosen #mobile {
        display: none;
    }

    .mobile-platform-chosen .grid {
        display: block;
    } */
    .switchPlatformLink,
    #page-header-product-title-container {
        float: none;
    }

    #page-header-product-title-container {
        justify-content: center;
    }

    .switchPlatformLink {
        text-align: center;
    }

    #scroll_to_checkout {
        display: none;
        /* Initially hide the button until prod selected */
        position: fixed;
        bottom: 130px;
        right: 0;
        padding: 10px 0 10px 10px;
        background-color: rgb(134 134 134);
        border-radius: 5px 0 0 5px;
    }

    #scroll_to_checkout button {
        padding: 12px 30px 12px 35px;
        color: white;
        font-size: 1.1rem;
        background: rgb(170, 3, 24);
        background: linear-gradient(183deg, rgba(170, 3, 24, 1) 0%, rgba(117, 0, 5, 1) 100%);
    }
}

@media (max-width: 678px) {

    #left-side,
    #right-side {
        padding: 0 0 1rem 0;
        border-right: none;
    }

    h1 {
        font-size: 1.2rem;
    }
    .most-popular-badge{
        left: -45px;
        top: 64%;
        font-size: 0.75em;
        width: 45px;
        height: 60px;
    }
    .device-info {
        max-width: 90%;
        margin: 10px auto 0;
    }
}

@media (max-width: 400px) {
    .items-table {
        font-size: 0.9em;
    }

    .items-table th,
    .items-table td {
        padding: 5px;
    }
}