/* iOS 6 inspired storefront: old WebKit gradients, floats and box shadows only. */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    background-color: #b8babd;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dfe1e4), to(#a8aaad));
    color: #222;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
    word-break: break-all;
    text-shadow: 0 1px 0 #fff;
}

a {
    color: #164f86;
    text-decoration: none;
}

img {
    max-width: 100%;
    border: 0;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

.store-shell, .store-page, .store-content {
    width: 100%;
}

.store-container {
    width: auto;
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 12px;
}

.store-header {
    min-height: 58px;
    border-top: 1px solid #52677b;
    border-bottom: 1px solid #182938;
    background-color: #294b69;
    background-image: -webkit-gradient(linear, 0 0, 0 50%, from(#5b7d9e), color-stop(.5, #335674), color-stop(.51, #23445f), to(#19364e));
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}

.store-header-inner {
    overflow: hidden;
    padding-top: 9px;
    padding-bottom: 9px;
}

.store-brand {
    float: left;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 40px;
    text-shadow: 0 -1px 1px #142638, 0 1px 1px #7792aa;
}

.store-brand img {
    max-height: 38px;
    margin-right: 8px;
    border: 1px solid #10283c;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 1px #7892a8;
    box-shadow: 0 1px 1px #7892a8;
}

.store-brand-title {
    display: inline;
    vertical-align: middle;
}

.store-nav-actions {
    float: right;
    line-height: 40px;
}

.store-button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #123e68;
    border-radius: 6px;
    background-color: #3274aa;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#78b8e5), color-stop(.48, #3b82b9), color-stop(.52, #24649b), to(#174d7c));
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .35);
    text-shadow: 0 -1px 1px #17466f;
}

.store-button:active,
button:active,
input[type="submit"]:active {
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#174d7c), color-stop(.48, #24649b), color-stop(.52, #3b82b9), to(#78b8e5));
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35);
}

.store-button-outline {
    border-color: #8a929a;
    background-color: #e5e7e9;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), color-stop(.48, #e5e7e9), color-stop(.52, #c8cbd0), to(#f7f7f7));
    color: #273746;
    text-shadow: 0 1px 0 #fff;
}

.store-button-primary {
    border-color: #174d7c;
}

.store-button-alert {
    border-color: #8d2525;
    background-color: #b84141;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef8585), color-stop(.48, #d34e4e), color-stop(.52, #af3030), to(#862020));
}

.store-footer {
    margin-top: 22px;
    padding: 18px 0 28px;
    border-top: 1px solid #8d9298;
    background: #b8babd;
    color: #555;
    text-align: center;
    text-shadow: 0 1px 0 #e6e6e6;
}

.store-footer-line {
    margin-bottom: 7px;
    font-size: 12px;
}

.store-heading {
    min-height: 42px;
    margin-bottom: 14px;
    padding: 5px 10px;
    overflow: hidden;
    border: 1px solid #1c466d;
    border-radius: 7px;
    background-color: #315f89;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#79a4c9), color-stop(.45, #4b79a0), color-stop(.5, #315f89), to(#224b70));
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .3);
}

.store-title {
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    text-shadow: 0 -1px 1px #193d5e, 0 1px 1px #87a9c4;
}

.store-center {
    text-align: center;
}

.store-search {
    float: right;
    width: 260px;
    margin: 1px 0;
}

.store-input,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #8c9298;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font: 14px Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18), 0 1px 0 #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18), 0 1px 0 #fff;
    text-shadow: none;
}

.store-input:focus,
input:focus,
textarea:focus {
    border-color: #3d82ba;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12), 0 0 3px #4e9bd4;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12), 0 0 3px #4e9bd4;
    outline: 0;
}

.store-panel {
    margin-bottom: 14px;
    border: 1px solid #8f959b;
    border-radius: 8px;
    background-color: #f9f9f9;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), color-stop(.04, #f3f3f3), to(#d7d9dc));
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, .3);
}

.store-panel-body {
    padding: 16px;
}

.store-panel-title {
    margin-bottom: 11px;
    color: #263d52;
    font-size: 16px;
    text-shadow: 0 1px 0 #fff;
}

.store-tabs {
    overflow: hidden;
    margin-bottom: 14px;
    padding: 2px;
    border: 1px solid #7c858e;
    border-radius: 7px;
    background: #8c9298;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 1px 0 #eee;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 1px 0 #eee;
}

.store-tab-item {
    float: left;
    margin: 0;
}

.store-tab {
    display: inline-block;
    padding: 6px 12px;
    border-right: 1px solid #79828b;
    color: #273746;
    text-shadow: 0 1px 0 #eee;
}

.store-tab.active {
    border-color: #16466f;
    border-radius: 5px;
    background-color: #3e79a9;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80b1d8), color-stop(.5, #4f8abb), to(#245e90));
    color: #fff;
    text-shadow: 0 -1px 1px #234d72;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .35);
}

.store-tabpane {
    display: none;
}

.store-tabpane.active,
.store-tabpane.show {
    display: block;
}

.store-product-list {
    overflow: hidden;
}

.store-product {
    display: block;
    min-height: 96px;
    margin-bottom: 10px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #8d949b;
    border-radius: 8px;
    background-color: #fafafa;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), color-stop(.5, #f2f2f2), to(#d3d5d8));
    color: #222;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .25);
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .25);
}

.store-product:active {
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cdd1d5), color-stop(.5, #eceeef), to(#fff));
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
}

.store-product-image {
    float: left;
    width: 72px;
    height: 72px;
    margin-right: 12px;
    border: 1px solid #899098;
    border-radius: 8px;
    background: #d7d9dc;
    -webkit-box-shadow: inset 0 1px 2px #fff, 0 1px 2px rgba(0, 0, 0, .35);
    box-shadow: inset 0 1px 2px #fff, 0 1px 2px rgba(0, 0, 0, .35);
}

.store-product-copy {
    min-height: 72px;
    overflow: hidden;
}

.store-product-name {
    margin-bottom: 5px;
    color: #173f62;
    font-size: 17px;
    font-weight: bold;
}

.store-product-stock {
    margin-bottom: 4px;
    color: #59636c;
}

.store-product-price, .store-price {
    color: #a52e2e;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
}

.store-buy-layout, .store-order-grid {
    overflow: hidden;
}

.store-buy-form, .store-buy-description {
    float: left;
    width: 49%;
}

.store-buy-form {
    margin-right: 2%;
}

.store-field {
    margin-bottom: 15px;
}

.store-field-label {
    display: block;
    margin-bottom: 6px;
    color: #334a5f;
    font-weight: bold;
}

.store-badge {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 9px;
    border: 1px solid #858d95;
    border-radius: 10px;
    background: #e4e6e8;
    color: #46515b;
    font-size: 12px;
    text-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0, 0, 0, .2);
    box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0, 0, 0, .2);
}

.store-badge-primary {
    border-color: #4d7597;
    background: #b8d2e6;
    color: #16466f;
}

.store-badge-alert {
    border-color: #a95050;
    background: #ebc0c0;
    color: #8e2525;
}

.store-pay-options {
    overflow: hidden;
}

.store-pay-option {
    float: left;
    min-width: 78px;
    margin: 0 9px 9px 0;
    text-align: center;
}

.store-pay-option.active {
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#285f91), color-stop(.5, #4d8aba), to(#80b1d8));
    color: #fff;
}

.store-submit {
    padding-top: 7px;
    text-align: center;
}

.store-submit-button {
    min-width: 140px;
    font-size: 16px;
}

.store-captcha {
    margin-top: 8px;
}

.store-buy-description img {
    height: auto;
}

.store-buy-description p,
.store-buy-description div,
.store-buy-description span,
.store-buy-description li {
    line-height: 1.8;
}

.store-dialog {
    display: none;
    width: 100%;
    margin-bottom: 14px;
}

.store-dialog.show {
    display: block;
}

.store-dialog-box, .store-dialog-content {
    width: 100%;
}

.store-dialog-content {
    border: 1px solid #8f959b;
    border-radius: 8px;
    background: #f4f4f4;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, .3);
}

.store-dialog-header {
    min-height: 24px;
    padding: 10px 14px;
    overflow: hidden;
    border-bottom: 1px solid #b3b7bc;
    background: #d8dade;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#c3c6ca));
}

.store-dialog-title {
    float: left;
    color: #263d52;
    font-size: 16px;
}

.store-dialog-close {
    float: right;
    padding: 0;
    border: 0;
    background: transparent;
    color: #46515b;
    font-size: 21px;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.store-dialog-body {
    padding: 12px 14px;
}

.store-hidden {
    display: none !important;
}

.store-centered {
    max-width: 520px;
    margin: 0 auto;
}

.store-order-details, .store-order-code {
    float: left;
    width: 48%;
}

.store-order-code {
    float: right;
}

.store-code-box {
    min-height: 120px;
    margin-bottom: 8px;
}

.store-error {
    color: #a52e2e;
    font-size: 28px;
    font-weight: bold;
}

.store-qr, .store-bill {
    text-align: center;
}

.store-qr .store-panel, .store-bill .store-panel {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.store-qr .store-panel {
    max-width: 520px;
}

.store-qr img {
    max-width: 200px;
    padding: 6px;
    border: 1px solid #8b9299;
    border-radius: 5px;
    background: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.store-payment-link {
    margin-top: 12px;
}

.store-qr-code {
    margin: 12px 0;
}

.mb-1 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 14px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 18px; }

@media screen and (max-width: 767px) {
    .store-search {
        float: none;
        width: auto;
        margin-bottom: 7px;
    }

    .store-title {
        font-size: 18px;
    }

    .store-buy-form, .store-buy-description,
    .store-order-details, .store-order-code {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .store-order-code {
        margin-top: 14px;
    }

    .store-tab {
        padding-right: 9px;
        padding-left: 9px;
    }
}
