/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Copyright (c) 2001-present X-Cart Holdings LLC. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&subset=cyrillic');

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Specific styles */

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.42em;
}

.product-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.product-photo {
    margin-top: 0px !important;
}

.product-name {
    font-size: 16px;
    max-height: 88px;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

div.product-price {
    font-weight: 600;
    font-size: 24px;
}

ul.product-price {
    margin: 0px;
}

.product-card > * {
    width: 100%;
}

button {
    min-height: 35px;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 3px;


    font-size: 14px;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.42em;
    white-space: nowrap;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none !important;
    -webkit-appearance: button;
    cursor: pointer;
}

button:focus {
    outline: 0
}

button:hover {
    outline: 0;
    background-color: #ed9c28;
    border-color: #d58512;
}

button:active {
    outline: 0;
    background-image: none;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}

.product-card > * + * {
    margin-top: 1rem;
}
