@import 'vars.less';


/* Default
============================================================================= */
html, body {
    height: 100%;
}
body {
    font: @mainFontSize/1.25 @fontBody;
    color: #969696;
    min-width: @bodyMinWidth;
    letter-spacing: 0.1em;
    overflow-x: hidden;
    left: 0;
    right: 0;
    position: relative;
    .transition-2pr(left 0.3s, right 0.3s);
    &.side-menu-opened {
        left: 274px;
        right: -274px;
    }
}
.ipad-view {
    &.side-menu-opened {
        position: fixed;
    }
}


/* Text
============================================================================= */
h1, h2, h3, h4, h5, h6 {
    color: #323232;
    font-weight: normal;
}
a {
    text-decoration: none;
    color: @mainColorScheme;
    outline: none;
    &:hover {
        text-decoration: underline;
        color: @mainColorScheme;
        outline: none;
    }
    &:focus {
        color: @mainColorScheme;
        outline: none;
    }
}
h4 {
    font-size: 21px;
    margin-top: 0;
    margin-bottom: 33px;
    letter-spacing: 0.025em;
}


/* Images
============================================================================= */
img {
    max-width: 100%;
    height: auto;
}


/* Iframe
============================================================================= */
iframe {
    display: block;
    border: 0;
}


/* Lists
============================================================================= */
ol, ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
em, i, strong, b {
    font-style: normal;
    font-weight: normal;
}


/* Table
============================================================================= */
table {
    width: 100%;
}
th {
    font-weight: normal;
    vertical-align: middle;
}
td {
    vertical-align: middle;
}
.table-view {
    display: table;
    height: 500px;
    width: 100%;
}
.table-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.nobr {
    white-space: nowrap;
}


/* Other
============================================================================= */
mark {
    background: none;
}


/* Style Position
============================================================================= */
.a-left {
    text-align: left;
}
.a-center {
    text-align: center;
}
.a-right {
    text-align: right;
}
.no-display {
    display: none;
}



/* Std
============================================================================= */
.std {
    p {
        margin: 0 0 18px;
        font-family: @fontLight;
        @media @tablet {
            font-size: 14px;
            margin: 0 0 12px;
        }
    }
    strong,
    b {
        font-weight: normal;
        font-family: @fontBody;
    }
    em,
    i {
        font-style: normal;
        font-family: @fontItalic;
    }
    ul,
    ol {
        list-style: decimal;
        padding-left: 20px;
        li {
            padding-bottom: 10px;
        }
    }
}


/* Main Layout
============================================================================= */
.wrapper {
    position: relative;
    min-height: 100%;
    background: @white;
    .ipad-view & {
        @media @portrait {
            padding: 0 10px;
        }
    }
}
.page {
    padding: 59px 0 324px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: @white;
}
.main {
    position: relative;
    margin: 0 auto;
}

/* Breadcrumb
============================================================================= */
.breadcrumb {
    padding: 20px 0 0;
    color: @bodyTextColor;
    font: 11px/14px @fontBody;
    text-transform: uppercase;
    float: right;
    letter-spacing: 0.1em;

    @media @tablet {
        font-size: 10px;
    }
    li {
        display: inline;
        & + li:before {
            padding: 0;
            content: '\00a0/\00a0';
            color: inherit;
        }
    }
    .search {
        span {
            white-space: nowrap;
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            vertical-align: middle;
        }
    }
    a {
        color: @bodyTextColor;
        &:hover {
            color: @mainColorScheme;
            text-decoration: none;
        }
    }
}


/* Pagination
============================================================================= */
.pagination {
    position: fixed;
    bottom: 24px;
    left: 5px;
    background: #fff;
    padding: 9px;
    margin: 0;
    z-index: 1030;
    color: @bodyTextColor;
    font: 17px/1 @fontBody;
    letter-spacing: 1px;
    transform: translateZ(0);
    .transition(all 0.3s);

    &.no-padding {
        bottom: 4px;
    }
}
.pager {
    text-align: center;
}


/* Loading
============================================================================= */
.ias_loader {
    width: 100%;
    height: 64px;
    float: left;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
}


/* Top
============================================================================= */
#toTop {
    display: none;
    position: fixed;
    bottom: 35px;
    right: 10px;
    width: 28px;
    height: 15px;
    text-indent: -9999px;
    background: url(@sprite) -385px -33px no-repeat;
    z-index: 999;
    outline: none;
    .transition(bottom 0.3s ease);
    &.no-padding {
        bottom: 15px;
    }
    &:hover {
        background-position: -460px -417px;
    }
}


/* Ajax Wait
============================================================================= */
.please-wait {
    display: block;
    padding-top: 20px;
}


/* Checkout
============================================================================= */
.opc {
    .section {
        margin-bottom: 15px;
    }
}
.billing-list {
    padding: 0 15px;
}
.shipping-list {
    padding: 0 15px;
}
.step {
    padding: 38px 0;
}
.step-title {
    background: #c8c8c8;
    font-size: 17px;
    color: #fff;
    padding: 13px 18px 11px;
    letter-spacing: 0.1em;
    * {
        vertical-align: middle;
        display: inline-block;
    }
    h2 {
        font-size: 17px;
        color: #fff;
        margin: 0;
        text-transform: uppercase;
        white-space: nowrap;
    }
    > .info {
        float: right;
        color: #6e6e6e;
        font-style: normal;
        text-align: right;
        address {
            font-style: normal;
            color: #6e6e6e;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 900px;
            @media @tablet {
                width: 650px;
            }
        }
        p {
            margin: 0;
        }
    }
}


.page-popup {
    text-align: center;
    .title-buttons {
        .button {
            display: none;
        }
    }
    .tracking-table-popup {
        width: 50%;
        margin: 0 auto;
        border-collapse: collapse;
        border: 1px solid #c8c8c8;
        tr {
            border-bottom: 1px solid #c8c8c8;
        }

        th {
            border-right: 1px solid #c8c8c8;
        }

        th, td {
            padding: 10px 0;
            width: 50%;
        }
    }
    .button {
        margin: 20px auto 0;
    }
}





/* Shop
==============================================================================*/
.shop {
    width: @desktop-contentMaxWidth;
    margin: 0 auto 20px;
    padding-top: 21px;
    @media @tablet {
        width: @tablet-contentMaxWidth;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    .item {
        position: relative;
        min-height: 1px;
        padding: 0 10px;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 18px;
        color: #323232;
        float: left;
        width: 244px;
        @media @tablet {
            width: 235px;
            &:nth-child(n + 5) {
                display: none;
            }
        }
    }
    .sold-out-item {
        opacity: 0.7;
        a {
            color: #969696;
        }
    }
    .sold-out {
        position: absolute;
        z-index: 1;
        width: 53px;
        height: 53px;
        top: 17px; right: 27px;
        img {
            width: 100%;
        }
    }
    .product-image {
        margin-bottom: 7px;
    }
    img {
        width: 100%;
    }
    .std {
        position: relative;
        line-height: 18px;
        letter-spacing: 0.1em;
        p {
            font-family: @fontBody;
        }
    }
    .product-brand {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 150px;
        height: 17px;
    }
    .special-price-item {
        .product-brand {
            width: 75px;
        }
    }
    .product-name-text {
        display: block;
        height: 35px;
        overflow: hidden;
    }
    .price-box {
        position: absolute;
        right: 0; top: 0;
        color: @bodyTextColor;
        .old-price {
            display: inline-block;
            vertical-align: top;
            .price {
                text-decoration: line-through;
            }
        }
        .special-price {
            display: inline-block;
            vertical-align: top;
            .price {
                color: @special;
            }
        }
    }
    a {
        display: block;
        color: inherit;
        &:hover {
            text-decoration: none;
            color: @mainColorScheme;
        }
    }
}