/**
 *
 * Common styles
 *
 */

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

*,
::before,
::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.4rem;
    overflow-wrap: break-word;
    word-break: break-word;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.6rem;
}

.amphtml-meta .screen-reader-text {
    /* from twentyfifteen */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

amp-img {
    background-color: transparent;
}

amp-carousel > amp-img > img {
    -o-object-fit: contain;
    object-fit: contain;
}

ul,
ol {
    padding-left: 0px;
    list-style-position: inside;
}

code {
    font-size: 13px;
    white-space: normal;
}

figure {
    margin: 0px;
}

amp-youtube {
    margin: 0px -10px;
}
/**
 *
 * Typo
 *
 */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4em;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.amphtml-content ul:not([class]),
.page-header ul:not([class]) {
    list-style: none;
    padding-left: 1rem;
}

.amphtml-content ul:not([class]) li,
.page-header ul:not([class]) li {
    position: relative;
    padding: 4px 0px;
    line-height: 1.4em;
}

.amphtml-content ul:not([class]) li::before,
.page-header ul:not([class]) li::before {
    content: '\2022';
    font-weight: 700;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

/**
 *
 * Header
 *
 */

.header {
    -webkit-box-shadow: 0 6px 4px -4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 4px -4px rgba(0, 0, 0, 0.2);
}

.header .logo {
    float: left;
    display: block;
    position: relative;
    z-index: 10;
    line-height: 68px;
    width: calc(100% - 70px);
    height: 68px;
}

/* TODO: move color settings to admin panel */
.header .logo a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.6rem;
    padding-left: 10px;
    height: 100%;
}

.header .logo a amp-img {
    margin-right: 8px;
    max-width: calc(100% - 10px);
}

.header amp-accordion {
    z-index: 5;
    line-height: 68px;
}

.header amp-accordion:after {
    content: '';
    clear: both;
    display: table;
}

/* TODO: move color settings to admin panel */
.header .hamburger {
    position: relative;
    display: block;
    width: 70px;
    height: 68px;
    border: 0px;
    padding: 0px;
    outline: none;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    line-height: 70px;
    text-align: center;
    text-transform: none;
}

.header .hamburger .hamburger-line {
    position: absolute;
    width: calc(100% - 30px);
    height: 2px;
    left: 15px;
    border-radius: 2px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.header .hamburger .hamburger-line:nth-of-type(1) {
    top: calc(32% - 1px);
}
.header .hamburger .hamburger-line:nth-of-type(2) {
    top: calc(50% - 1px);
}
.header .hamburger .hamburger-line:nth-of-type(3) {
    top: calc(68% - 1px);
}
.header .hamburger[aria-expanded='true'] .hamburger-line:nth-of-type(1) {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    top: calc(50% - 1px);
}
.header .hamburger[aria-expanded='true'] .hamburger-line:nth-of-type(2) {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-15px);
    -ms-transform: translateX(-15px);
    transform: translateX(-15px);
}
.header .hamburger[aria-expanded='true'] .hamburger-line:nth-of-type(3) {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
    top: calc(50% - 1px);
}

/* Main accordion navigation */
/* TODO: move color settings to admin panel */
.header amp-accordion .main-navigation {
    width: 100%;
    line-height: 1.4rem;
    -webkit-box-shadow: 0 6px 10px -3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 6px 10px -3px rgba(0, 0, 0, 0.4);
}
.header amp-accordion .main-navigation ul {
    list-style: none;
    padding: 0px 10px;
}

.header amp-accordion .main-navigation ul li a {
    text-decoration: none;
    padding: 12px 0px;
    display: block;
    position: relative;
    text-align: left;
}

.header amp-accordion .main-navigation ul.menu .sub-menu {
    padding: 0px 0px 0px 20px;
}

.header amp-accordion .main-navigation ul.menu .sub-menu li a:before {
    content: '';
    position: absolute;
    bottom: 50%;
    left: -20px;
    width: 10px;
    height: 2px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #ffffff;
    border-radius: 2px;
}

div.main-navigation li.wpml-ls-item amp-img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

div.main-navigation li.wpml-ls-item > .sub-menu {
    padding-left: 0;
}

div.nav:hover > div.main-navigation {
    display: block;
}

/*--------  Sidebar  --------*/
amp-sidebar {
    padding: 55px 15px 15px;
    position: relative;
}

amp-sidebar .amp-close-button {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
}

amp-sidebar .amp-close-button .close-line {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
}

amp-sidebar .amp-close-button .close-line:nth-of-type(1) {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

amp-sidebar .amp-close-button .close-line:nth-of-type(2) {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

amp-sidebar .menu {
    width: 250px;
}

amp-sidebar .menu ul,
amp-sidebar ul.menu {
    padding: 0px;
    list-style: none;
}

amp-sidebar .menu li:not(:last-of-type) {
    margin: 0 0 1px;
}

amp-sidebar .menu li a {
    text-decoration: none;
    padding: 12px 0px;
    display: block;
    position: relative;
}

amp-sidebar .menu li:not(:last-of-type) a:before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0.65;
}

amp-sidebar .menu li > ul {
    margin: 6px 0px;
}

amp-sidebar .menu li > ul li {
    padding-left: 20px;
}

amp-sidebar .menu li > ul li a {
    padding: 6px 0px;
}

amp-sidebar .menu li > ul li a:before {
    display: none;
}

/**
 *
 * Ads
 *
 */

amp-ad,
amp-embed {
    max-width: 100%;
    margin: 1rem auto;
    display: block;
}

/**
 *
 * Footer
 *
 */

.footer {
    margin-top: auto;
}

.footer .footer_content {
    font-size: 0.825rem;
    padding: 20px 10px;
    line-height: 1.4rem;
}

.footer .scrolltop-btn {
    text-align: center;
    width: 100%;
    padding: 20px 10px;
}

.footer .menu {
    text-align: center;
    font-size: 1.125rem;
    margin: 20px 0 0;
}

.footer .menu li {
    padding: 6px 0;
    display: block;
    list-style: none;
}

.footer .menu li a {
    text-decoration: none;
    font-weight: 400;
}

/**
 *
 * Content
 *
 */

.wrapper {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#main {
    margin: 0 0 2rem;
}

#main .inner {
    padding: 0px 10px;
    margin: 0 auto;
}

#main h1.amphtml-title {
    position: relative;
    margin: 1.4rem 0 0;
    padding-bottom: 50px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.725rem;
}

#main h1.amphtml-title::before {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
}

/*--------  Breadcrumbs  --------*/
#main nav.breadcrumb {
    margin: 1rem 0;
}

#main nav.breadcrumb ul {
    padding: 0px;
    list-style: none;
    margin: 0px;
}

nav.breadcrumb ul li {
    display: inline-block;
    position: relative;
}

nav.breadcrumb ul li:not(:last-of-type):after {
    content: '\0203A';
    margin: 0 8px;
    font-size: 24px;
    height: 26px;
    display: inline-block;
}

/* TODO: move color settings to admin panel */
nav.breadcrumb ul li a {
    text-decoration: none;
}

nav.breadcrumb ul:not([class]) li::before {
    display: none;
    visibility: hidden;
}

/*--------  Button to original post & Comments button  --------*/
.amp-button-holder {
    text-align: center;
    margin: 1rem 0px;
}

.amp-button-holder .amp-button {
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 25px;
    color: #ffffff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
}

/*--------  Search form  --------*/
form.search-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 300px;
    margin: 1rem auto;
    align-items: center;
}

form.search-form label {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-right: 12px;
}

.search-field {
    width: 100%;
    border: 1px solid;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 30px;
    padding: 0 8px;
    font-size: 0.875rem;
    outline: none;
}

form.search-form .search-submit {
    color: #ffffff;
    border: 0px;
    width: 72px;
    height: 30px;
    text-align: center;
}

/**
 *
 * Woocommerce
 *
 */

/*--------  Single product  --------*/
.amphtml-single-product .star {
    font-size: 1.725rem;
    margin: 0.6rem 0 0.6rem;
}

.amphtml-single-product > amp-img {
    margin: 0.6rem 0px;
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

amp-carousel {
    margin: 0.6rem 0;
}

#main .amphtml-single-product h1.amphtml-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 1.4rem 0px 1rem;
    padding: 0px;
    text-align: left;
}

#main .amphtml-single-product h1.amphtml-title::before {
    display: none;
}

.amphtml-single-product .amphtml-sku {
    color: #999999;
    font-size: 0.825rem;
    margin-top: -1rem;
    display: block;
    line-height: 1.2rem;
}

.amphtml-single-product .amphtml-price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.amphtml-single-product .amphtml-price .price {
    font-size: 1.4rem;
}

.amphtml-single-product .amphtml-price .amphtml-stock-status {
    color: #999999;
    font-size: 0.825rem;
}

form.single-product-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0.6rem 0;
}

.cart-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.products-list_2 .product-card .cart-field {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.amp-product-options {
    width: 100%;
}

.amp-product-options .amp-atribute-select-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.amp-product-options .amp-atribute-select-block + .amp-atribute-select-block {
    margin-top: 1rem;
}

.amp-product-options .amp-atribute-select-block label {
    padding-bottom: 5px;
}

.amp-product-options .amp-atribute-select-block select {
    width: 100%;
    max-width: 220px;
    padding: 10px 10px;
    font-size: 1em;
    background: transparent;
}

.amp-product-qty {
    width: 100%;
    max-width: 80px;
    margin: 25px auto 0px 0px;
}

.amp-product-qty input {
    width: 100%;
    height: auto;
    font-size: 20px;
    text-align: center;
    border: 1px solid;
    padding: 20px 10px;
}

.product-card .amp-product-qty {
    margin: 1rem 10px 0px 0px;
    max-width: 60px;
}
.product-card .amp-product-qty input {
    padding: 13px 10px;
}

.amphtml-add-to {
    width: 100%;
    max-width: 200px;
    margin: 25px 0px 0px;
}
select.orderby {
    padding: 0 15px;
}
.i-button {
    border: 1px solid;
    text-transform: uppercase;
    background: none;
    padding: 11px 5px;
    width: 84px;
    white-space: inherit;
    cursor: pointer;
}
.woocommerce-ordering {
    justify-content: center;
    display: flex;
    margin-bottom: 2.2rem;
}
.woocommerce-ordering .i-button {
    margin-left: 15px;
}
.amphtml-add-to .a-button {
    background: none;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 15px;
    font-size: 1.125rem;
    font-weight: 300;
    width: 100%;
    text-align: center;
    min-width: 200px;
    color: #ffffff;
    border: 0px;
}

.amphtml-add-to .amphtml-form-alert[submit-success][role='alert'] + input[type='submit'] {
    display: none;
}

.amphtml-form-alert .amphtml-form-status-error {
    font-size: 0.825rem;
    background-color: #f93d5c;
    color: #ffffff;
    line-height: 1.8;
    padding: 14px;
    border-radius: 3px;
    margin-top: 1.2rem;
}

.amphtml-single-product .amphtml-add-to {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 100%;
    width: auto;
}

.amphtml-single-product .amphtml-add-to .a-button {
    display: inline-block;
    width: auto;
}

.amphtml-single-product .amphtml-add-to .amphtml-form-alert[submit-success] {
    margin-left: auto;
}

.amphtml-single-product amp-accordion {
    margin: 0.6rem -10px 0.6rem;
}

.amphtml-single-product amp-accordion h4 {
    background-color: transparent;
    border-width: 0px 0px 1px 0px;
    padding: 10px 10px;
    font-weight: 400;
    position: relative;
    outline: none;
}

.amphtml-single-product amp-accordion h4::before {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.amphtml-single-product amp-accordion h4::after {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.amphtml-single-product amp-accordion section:last-child h4 {
    border: none;
}

.amphtml-single-product amp-accordion h4[aria-expanded='true'] {
    color: #ffffff;
}

.amphtml-single-product amp-accordion h4[aria-expanded='true']:before {
    background-color: #ffffff;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.amphtml-single-product amp-accordion h4[aria-expanded='true']:after {
    background-color: #ffffff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.amphtml-single-product amp-accordion .section-content:not(.comments-area) {
    padding: 0px 10px;
}

/*--------  Single Product comments & Single Article comments  --------*/

.reviews-count,
.woocommerce-noreviews {
    padding: 0px 10px;
}

.woocommerce-noreviews {
    margin-bottom: 2rem;
}

.amp-reviews {
    list-style: none;
    padding: 0px;
}

.amp-reviews > li {
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 14px 10px;
    margin-bottom: 20px;
}

.amp-reviews > li:last-child {
    margin: 0px;
}

.amp-reviews > li article .comment-meta .comment-author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.825rem;
}

.amp-reviews > li article .comment-meta .comment-author amp-img {
    border-radius: 50%;
    max-width: 22px;
    max-height: 22px;
    margin-right: 4px;
}

.amp-reviews > li article .comment-meta .comment-author b {
    margin-right: 4px;
    text-decoration: underline;
}

.amp-reviews > li article .comment-meta .comment-author b,
.amp-reviews > li article .comment-meta .comment-author span {
    line-height: 1rem;
    font-weight: 400;
}

.amp-reviews .comment-metadata {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.amp-reviews .comment-metadata > a {
    font-size: 0.725rem;
    color: #999999;
    text-decoration: none;
    line-height: 1rem;
    margin-top: 0.6rem;
}

/* Admin link */
.amp-reviews .comment-metadata .edit-link {
    line-height: 1rem;
    margin-top: 0.6rem;
}
.amp-reviews .comment-metadata .edit-link a {
    text-decoration: none;
    color: #999999;
    font-size: 0.725rem;
    margin-left: 4px;
}

.amp-reviews .comment-metadata .edit-link a:before {
    content: '(';
}

.amp-reviews .comment-metadata .edit-link a:after {
    content: ')';
}

.amp-reviews .comment-meta .comment-awaiting-moderation {
    font-size: 0.725rem;
    margin: 0 0 1rem;
    color: #f10000;
    line-height: 2rem;
    text-align: right;
}

.amp-reviews .comment-content p {
    margin: 0.6rem 0px 0px;
}

.amp-reviews .reply {
    font-size: 0.725rem;
    text-align: right;
    line-height: 1.2rem;
    margin-top: 0.5rem;
}

.amp-reviews .reply a {
    text-decoration: none;
}

/* Children comments */
.amp-reviews > li ul.children {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.amp-reviews > li ul.children > li {
    padding: 0px 0px 0px 10px;
    border-left: 1px solid;
}

.amp-reviews > li ul.children > li > article {
    position: relative;
}

/*--------  Related Products  --------*/

.related-products-container h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1rem 0;
}

.related-products-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.related-products-list .related-product-block {
    width: 100%;
    padding: 20px;
    margin-bottom: 2.2rem;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.related-products-list .related-product-block:last-child {
    margin-bottom: 0;
}

.related-products-list .related-product-block:nth-of-type(3n) {
    margin-right: 0px;
}

.related-products-list .related-product-block .related-product-link {
    width: 100%;
    display: block;
    text-decoration: none;
}

.related-products-list .related-product-block .related-product-link amp-img {
    max-width: 100%;
}

.related-products-list .related-product-block .wc-related-name {
    text-align: center;
    font-size: 1.125rem;
    margin: 0.6rem 0 0;
}

.related-products-list .related-product-block .wc-related-price {
    text-align: center;
    margin: 0.6rem 0 0;
    font-weight: 600;
}

.related-products-list .related-product-block .wc-related-price del {
    color: #999999;
    padding: 0px 2px;
    font-weight: 400;
}

.related-products-list .related-product-block .wc-related-price ins {
    text-decoration: none;
    padding: 0px 2px;
}

/*--------  Products list/grid  --------*/
.products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    list-style: none;
    padding-left: 0px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.products-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.products-grid {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.products .product-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.products-list .product-card,
.products .product {
    max-width: 300px;
    width: 100%;
    padding: 20px;
    margin-bottom: 2.2rem;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.products-list .product-card:last-child,
.products .product:last-child {
    margin-bottom: 0;
}

.products-grid .product-card {
    width: calc(33.3333% - 0.6rem);
    margin-right: 0.9rem;
    padding: 10px;
    margin-bottom: 0.9rem;
    border: 1px solid #ded8dc;
}

.products-grid .product-card:nth-of-type(3n) {
    margin-right: 0px;
}

.products-grid .product-card > *:last-child {
    margin-top: auto;
}

.products .product .onsale {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    font-size: 0.825rem;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
}

.products .product-card .amphtml-title,
.products .product .woocommerce-loop-product__title,
.related-products-container .wc-related-name {
    font-size: 1.125rem;
    font-weight: 400;
    text-align: center;
    position: relative;
    line-height: 2.2rem;
    margin: 0 0 0.6rem;
    text-transform: none;
}
.products .product-card .clearfix + amp-img,
.products .product .clearfix + amp-img {
    margin-top: 0.6rem;
}
.products .product-card amp-img,
.products .product amp-img {
    max-width: 100%;
    min-width: 100%;
}

.products .product-card amp-img + .amphtml-title,
.products .product amp-img + .woocommerce-loop-product__title,
.products .product-card a.amphtml-product-thumb + .amphtml-title {
    margin: 0.6rem 0 0;
}

.products .product-card .amphtml-title::after,
.products .product .woocommerce-loop-product__title::after,
.related-products-container .wc-related-name::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 20px;
    height: 1px;
}

.products .product-card .amphtml-title a,
.products .product a.woocommerce-loop-product__link {
    text-decoration: none;
    line-height: 1.4rem;
    display: inline-block;
}

.products .product a.woocommerce-loop-product__link {
    display: block;
}

.products .product-card .product-short-desc,
.products .product .product-short-desc {
    margin: 0.6rem 0 0;
}

.products .product-card .product-short-desc:empty,
.products .product .product-short-desc:empty {
    display: none;
}

.products .product-card .product-short-desc p,
.products .product .product-short-desc p {
    margin: 0;
    font-size: 0.8em;
    line-height: 1.2rem;
}

.products .product-card .star,
.related-products-container .wc-related-start {
    text-align: center;
    font-size: 22px;
    margin: 0.2rem 0 0.2rem;
}

.products .product .star-rating {
    text-align: center;
    margin: 0.4rem 0 0.4rem;
}

.products .product-card .amphtml-price,
.products .product .price,
.related-products-container .wc-related-price {
    text-align: center;
    margin: 0.6rem 0 0.6rem;
    font-weight: 600;
    display: block;
}

.products .product-card .amphtml-price del,
.products .product .price del,
.related-products-container .wc-related-price del {
    color: #999999;
    padding: 0px 2px;
    font-weight: 400;
}

.products .product-card .amphtml-price ins,
.products .product .price ins,
.related-products-container .wc-related-price ins {
    text-decoration: none;
    padding: 0px 2px;
}

.products .product-card .amphtml-add-to,
.products .product .add-to-cart-container {
    text-align: center;
    margin: 1rem auto 0;
}

.products-list .product-card .amphtml-add-to .a-button,
.products .product .add-to-cart-container .add_to_cart_button {
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 1.125rem;
    font-weight: 300;
    display: inline-block;
    text-align: center;
    min-width: auto;
    max-width: 172px;
    line-height: normal;
}

.products-grid .product-card .amphtml-add-to .a-button {
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 300;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 180px;
    min-width: 100px;
    line-height: normal;
}

.products .product-category {
    padding: 0px;
    background-color: #f9f9f9;
    -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
}

.products .product-category a {
    text-decoration: none;
}

.products .product-category a amp-img {
    vertical-align: middle;
}

.products .product-category h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 400;
    min-width: 180px;
    background-color: #ffffff;
    text-align: center;
    min-height: 60px;
    padding: 5px 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    text-transform: none;
}
.products .product-category h2 mark {
    background-color: transparent;
    display: none;
}

/*--------  Products list v2  --------*/

.products-list_2 {
    max-width: 480px;
    margin: 0 auto;
}

.products-list_2 .product-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 0.65rem;
}

.products-list_2 .product-card .product-card-left {
    width: 35%;
    padding-right: 0.65rem;
}

.products-list_2 .product-card .product-card-right {
    width: 65%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.products-list_2 .product-card .star {
    font-size: 1.2rem;
    margin: 0.65rem 0 0;
    line-height: 1;
}

.products-list_2 .product-card .amphtml-title {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

.products-list_2 .product-card .amphtml-title:after {
    display: none;
}

.products-list_2 .product-card .amphtml-price {
    text-align: right;
    font-size: 1.2rem;
    line-height: 1;
}

.products-list_2 .product-card .amphtml-price .woocommerce-Price-currencySymbol {
    font-size: 0.825rem;
}

.products-list_2 .product-card .product-short-desc + .clearfix {
    margin-top: auto;
}

.products-list_2 .product-card .product-short-desc p {
    font-size: 0.95rem;
}

.products-list_2 .product-card .amphtml-add-to {
    max-width: 100%;
    margin: 1rem 0px 0px;
    text-align: right;
}

.products-list_2 .product-card .amphtml-add-to .a-button {
    border: 1px solid;
    display: inline-block;
    width: auto;
    padding: 14px 30px;
    min-width: 0px;
    line-height: normal;
}

/**
 *
 * Cart
 *
 */
.cart {
    padding: 0.6rem 0;
}

.cart-products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-width: 1px;
    border-style: solid;
}

.cart-products .cart-product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-width: 1px 0px 0px 0px;
    border-style: solid;
}

.cart-products .cart-product:first-of-type {
    border: none;
}

.cart-product .cart-product-image {
    width: 30%;
    max-width: 200px;
    min-width: 100px;
    padding: 10px;
    border-width: 0px 1px 0px 0px;
    border-style: solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cart-product .cart-product-image amp-img {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.cart-product .cart-product-meta {
    padding: 10px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
/* TODO: Decrease font-size on smaller screens */
.cart-product .cart-product-meta h3 {
    margin: 0;
    line-height: 1;
    font-size: 1.6rem;
    text-align: left;
    text-transform: none;
}

.product-sku {
    color: #999999;
    font-size: 0.825rem;
    margin-top: -0.15rem;
    display: block;
    line-height: 1.2rem;
}

.product-price {
    margin: 0.6rem 0;
    font-size: 1.25rem;
}

.product-total-quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

form .product-total-quantity {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

form .product-total-quantity label {
    padding-right: 5px;
}
form .product-total-quantity input {
    width: 50px;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    font-size: 1rem;
    margin-top: 0.2rem;
    outline: none;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-align: center;
}

form .product-total-quantity input::-webkit-outer-spin-button,
form .product-total-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

form .product-total-quantity input {
    -moz-appearance: textfield;
}

.product-total-price {
    min-width: 50px;
    text-align: right;
    margin: 0.2rem 0 0;
    font-size: 1.6rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.cart-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 10px;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
}

.cart-actions .coupon {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.cart-actions .coupon label {
    display: none;
}

.cart-actions .coupon input {
    width: 100%;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    font-size: 1rem;
    margin-right: 0.5rem;
    outline: none;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-align: center;
    max-width: 250px;
}

.cart-actions .coupon input::-webkit-input-placeholder {
    opacity: 0.6;
}

.cart-actions .coupon input:-ms-input-placeholder {
    opacity: 0.6;
}

.cart-actions .coupon input::-ms-input-placeholder {
    opacity: 0.6;
}

.cart-actions .coupon input::placeholder {
    opacity: 0.6;
}

.cart-actions .coupon + button {
    margin-left: 15px;
}

.cart-actions button {
    background: transparent;
    font-size: 0.95rem;
    min-height: 36px;
    border-width: 1px;
    border-style: solid;
    white-space: nowrap;
}

.cart-totals {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    padding: 10px 0px 12px;
}

.cart-totals h3 {
    margin: 0 0 0.5rem;
    padding: 0px 10px;
    font-size: 1.4rem;
    text-align: left;
    text-transform: none;
}

.cart-totals .cart-totals-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    padding: 0px 10px;
}

.cart-totals .cart-totals-row:first-of-type {
    border: none;
}

.cart-totals-column-head {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0;
    padding: 8px 10px;
}

.cart-totals-column-price {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: right;
    font-size: 1.4rem;
    margin: 0;
    padding: 8px 10px;
}

.cart .amphtml-add-to {
    max-width: 100%;
    text-align: center;
    margin: 10px 0 0;
}

.cart .amphtml-add-to .a-button {
    margin: 0 auto;
    display: inline-block;
    width: auto;
    padding: 20px 25px;
}

/**
   *
   * Socials
   *
   */

.social-box {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 2rem 0 2rem;
}

.social-box > * {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/**
 *
 * Blog
 *
 */

/*--------  Archive page & Meta block & Recent Posts block  --------*/

.amphtml-recent-posts-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding: 0px;
}

.amphtml-recent-posts-list.show-thumbs {
    margin: 0 auto;
}

.archive > .amphtml-content {
    padding: 15px;
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

.amphtml-recent-posts-list li {
    width: 100%;
    padding: 0px;
    padding: 6px 0px;
    border-bottom: 1px solid #f2f2f2;
}

.amphtml-recent-posts-list.show-thumbs li {
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 1.4rem;
    border: none;
}

.archive > .amphtml-content:last-child,
.amphtml-recent-posts-list li:last-child {
    margin-bottom: 0;
    border: none;
}

.amphtml-content .amphtml-title {
    text-align: center;
    font-weight: 400;
    margin: 0 0 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.amphtml-recent-posts-list li a,
.amphtml-recent-posts-list li a h4 {
    text-decoration: none;
    font-weight: 400;
    font-size: 1.125rem;
    text-align: left;
    margin: 0;
    text-transform: uppercase;
}

.amphtml-recent-posts-list.show-thumbs li a h4 {
    text-align: center;
    margin: 1rem 0 0px;
}

.amphtml-content .amphtml-title a {
    text-decoration: none;
}

.amphtml-content .amphtml-meta {
    padding: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 0.6rem 0;
}

.amphtml-meta .amphtml-meta-author {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0.4rem;
}

.amphtml-meta .amphtml-meta-author amp-img {
    border-radius: 50%;
    max-width: 20px;
    max-height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-right: 4px;
}

.amphtml-meta .amphtml-meta-author a {
    line-height: 1rem;
    font-weight: 400;
    margin-right: 4px;
    text-decoration: underline;
    font-size: 0.8rem;
}

.amphtml-meta .amphtml-meta-posted-on {
    width: 50%;
    text-align: right;
    font-size: 0.8rem;
    color: #999999;
    margin-bottom: 0.4rem;
}

.amphtml-meta .amphtml-meta-tax-category,
.amphtml-meta .amphtml-meta-tax-tag {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    font-size: 0.8rem;
}

.amphtml-meta .amphtml-meta-tax-category a:not(:first-of-type),
.amphtml-meta .amphtml-meta-tax-tag a:not(:first-of-type) {
    margin-left: 4px;
}

.archive .amphtml-post-excerpt {
    font-size: 0.9rem;
    color: #000000;
}

.archive .amphtml-post-excerpt .amphtml-readmore {
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 25px;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin: 15px auto 0;
    display: block;
    max-width: 160px;
}

/*--------  Single post & Recent Posts block --------*/

#main .amphtml-single-post h1.amphtml-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 2.4rem 0px 1rem;
    padding: 0px;
}

.amphtml-single-post h1::before {
    visibility: hidden;
    display: none;
}

.amphtml-single-post ul:not([class]) {
    list-style: none;
    padding-left: 1.6rem;
}

.amphtml-single-post ul:not([class]) li::before {
    content: '\2022';
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

.amphtml-single-post blockquote {
    margin: 1rem 0;
    position: relative;
    display: block;
    padding: 0.6rem 0.6rem 0.6rem 1rem;
    font-style: italic;
}

.amphtml-single-post blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
}

.amphtml-single-post blockquote p {
    margin: 0 0 0.6rem;
}

.amphtml-single-post blockquote p:last-child {
    margin: 0;
}

.amphtml-single-post blockquote cite {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.amphtml-single-post aside {
    margin-top: 2.2em;
}

.amphtml-single-post aside h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1rem 0;
}

/*--------  Tables  --------*/
table {
    table-layout: fixed;
    display: block;
    overflow: auto;
    border-collapse: collapse;
}

table caption {
    caption-side: bottom;
    text-align: left;
    border: none;
    background: none;
    margin: 10px 0px 0px;
    padding: 0;
}

table thead tr {
    background-color: #e2e2e2;
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table thead tr th {
    padding: 8px;
    text-align: left;
    font-size: 0.95rem;
}

table tbody tr td {
    white-space: normal;
    padding: 8px;
    min-width: 120px;
    font-size: 0.95rem;
}

/*--------  Pagination  --------*/

#pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#pagination .prev,
#pagination .next {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 2rem 0;
}

#pagination .prev:empty,
#pagination .next:empty {
    margin: 0;
}

#pagination .next {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#pagination .prev a,
#pagination .next a {
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 20px;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 142px;
}

#pagination .prev a .icon-arrow-left,
#pagination .next a .icon-arrow-right {
    position: relative;
    width: 14px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
}

#pagination .prev a .icon-arrow-left {
    margin-right: 7px;
}

#pagination .next a .icon-arrow-right {
    margin-left: 7px;
}

.icon-arrow-left:before,
.icon-arrow-right::before,
.icon-arrow-left::after,
.icon-arrow-right::after {
    content: '';
    position: absolute;
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    left: 2px;
}

.icon-arrow-left:before,
.icon-arrow-right::before {
    top: 10px;
}

.icon-arrow-left::after,
.icon-arrow-right::after {
    top: 17px;
}

.icon-arrow-left:before,
.icon-arrow-right::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.icon-arrow-left::after,
.icon-arrow-right::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/**
 *
 * Contact forms
 *
 */

.wpcf7 label {
    width: 100%;
    display: block;
}
.wpcf7 input:not([type='submit']) {
    width: 100%;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    font-size: 1rem;
    margin-top: 0.2rem;
    outline: none;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.wpcf7 input:not([type='submit']):focus {
    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.wpcf7 textarea {
    width: 100%;
    display: block;
    resize: vertical;
    font-size: 1rem;
    padding: 8px 10px;
    font-family: inherit;
    outline: none;
}

.wpcf7 textarea:focus {
    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.wpcf7 .wpcf7-submit {
    background: transparent;
    border: 1px solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 15px;
    font-size: 1.125rem;
    font-weight: 300;
    display: block;
    text-align: center;
    min-width: 200px;
    margin: 0 auto;
    outline: none;
}

.wpcf7 .ampcf7-loading {
    position: relative;
    min-height: 30px;
}

.wpcf7 .ampcf7-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 15px);
    width: 30px;
    height: 30px;
    -webkit-animation-name: spin;
    animation-name: spin;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
}

.wpcf7 div[role='alert'][submit-error] > div {
    font-size: 0.825rem;
    background-color: #f93d5c;
    color: #ffffff;
    line-height: 1.8;
    padding: 14px;
    border-radius: 3px;
}

.ampcf7-success {
    font-size: 0.825rem;
    background-color: #5aca74;
    color: #ffffff;
    line-height: 1.8;
    padding: 14px;
    border-radius: 3px;
}

.wpcf7 div[role='alert'] p {
    margin: 0px;
}

/**
 *
 * Foogallery styles
 *
 */

.foogallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.foogallery .fg-item {
    margin-bottom: 30px;
}

.foogallery .fg-item .fg-item-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.foogallery .fg-item .fg-thumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #ffffff;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.foogallery .fg-item .fg-caption-title {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

/* Social media links*/

nav.amp-social ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

}

nav.amp-social ul li {
    margin: 5px;
    list-style-type: none;
}

nav.amp-social ul li a.amp-social-link {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 30px;
    height: 30px;
    background-color: #fff;
    vertical-align: top;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

nav.amp-social ul li a.amp-social-link svg {
    width: 100%;
    height: auto;
    max-height: 100%;
    display: inline-block;
}

/**
 *
 * Animations
 *
 */

@-webkit-keyframes spin {
    from {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
    }
    to {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
    }
    to {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
    }
}

/**
 *
 * Media
 *
 */

@media screen and (max-width: 580px) {
    /*--------  Products  --------*/

    .products-grid .product-card {
	width: calc(50% - 0.5rem);
	margin-right: 1rem;
	margin-bottom: 1rem;
	padding: 15px;
    }
    .products-grid .product-card:nth-of-type(3n) {
	margin-right: 1rem;
    }
    .products-grid .product-card:nth-of-type(2n) {
	margin-right: 0;
    }
}

@media screen and (max-width: 425px) {
    /*--------  Products  --------*/

    .products-grid .product-card {
	width: calc(50% - 0.3rem);
	margin-right: 0.6rem;
	margin-bottom: 0.6rem;
	padding: 10px;
    }
    .products-grid .product-card:nth-of-type(3n) {
	margin-right: 0.6rem;
    }
    .products-grid .product-card:nth-of-type(2n) {
	margin-right: 0;
    }

    .products-grid .product-card .amphtml-title {
	font-size: 1rem;
    }

    .products-grid .product-card .amphtml-add-to .a-button {
	padding: 8px 12px;
	font-size: 0.9rem;
    }
}

@media screen and (max-width: 420px) {
    .products-list_2 .product-card {
	margin-bottom: 0.8rem;
    }

    .products-list_2 .product-card .amphtml-title {
	font-size: 1rem;
    }

    .products-list_2 .product-card .product-short-desc {
	display: none;
    }

    .products-list_2 .product-card .amphtml-price {
	font-size: 1rem;
	margin: 0.4rem 0;
    }

    .products-list_2 .product-card .amphtml-price .woocommerce-Price-currencySymbol {
	font-size: 0.825rem;
    }

    .products-list_2 .product-card .amphtml-add-to {
	margin: 0.4rem 0 0;
    }

    .products-list_2 .product-card .amp-product-qty {
	margin: 0.4rem 5px 0 0;
	max-width: 50px;
    }

    .products-list_2 .product-card .amp-product-qty input {
	padding: 8px 3px;
	font-size: 1rem;
    }

    .products-list_2 .product-card .amphtml-add-to .a-button {
	font-size: 1rem;
	padding: 8px 15px;
    }
}

@media screen and (max-width: 380px) {
    .products-grid .product-card .amphtml-title {
	font-size: 0.9rem;
    }
    .cart-product .cart-product-meta h3 {
	font-size: 1.2rem;
    }
    .cart-actions {
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-ms-flex-direction: column-reverse;
	flex-direction: column-reverse;
    }
    .cart-actions .coupon + button {
	margin: 0;
    }
    .cart-actions .coupon input {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
    }
    .cart-actions .coupon {
	width: 100%;
	margin-top: 10px;
    }
    .product-price {
	font-size: 1rem;
    }
    .product-total-price {
	font-size: 1.125rem;
    }
}

@media screen and (max-width: 340px) {
    form .product-total-quantity label {
	display: none;
    }
}
