/**
 * Color palette:
 * https://coolors.co/316c29-b4ccc6-1d2e23-74bb50-263934
 * https://coolors.co/visualizer/316c29-b4ccc6-1d2e23-74bb50-263934
 * #316C29 - Fern Green
 * #B4CCC6 - Ash Gray
 * #1D2E23 - Dark Green
 * #74BB50 - Mantis
 * #263934 - Dark Slate Gray
 * #FFFFFF - White
 */
* {
    box-sizing: border-box;
}
body {
    background-color: #1D2E23;
    color: #FAFAFA;
    min-height: 100vh;
    font-family: "Jost", Arial, sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5 {
    color: #FAFAFA;
}


.storefront {
    margin: 0px auto;
    min-height: 99vh;
    text-align: center;
}
.storefront a {
    text-decoration: none;
    font-weight: bold;
    color: #FFF;
}
.storefront .button {
    background: #316C29;
    color: #FFF;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.storefront .button:hover {
    background: #74BB50;
    color: #FFF;
}

/**
 * Utility Styles
 */
.padded {
    padding: 1rem;
}
.top-margin, .readable .top-margin {
    margin-top: 1rem;
}
.top-margin-x2, .readable .top-margin-x2 {
    margin-top: 2rem;
}
.m-auto {
    margin-left: auto;
    margin-right: auto;
}
dialog {
    position: fixed;
    top: 50%;
    left: 0;
    width: 90vw;
    box-sizing: border-box;
    z-index: 200;
    margin-top: -150px;
    height: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0);
}
.strong, .bold {
    font-weight: bold;
}

/* make links bigger when hovering by zooming
 */
.storefront a:hover {
    font-weight: bold;
    color: #74BB50;
}

.storefront > header {
    padding: 50px 0;
}

.storefront > header h1 {
    font-size: 3em;
    margin: 0;
}

.storefront > header h2 {
    font-size: 1.5em;
    margin: 0;
}
.storefront > header p {
    font-size: 1.2em;
    font-style: italic;
    padding-left: 1rem;
    padding-right: 1rem;
}

.storefront > header ul.socials-banner {
    padding: 0;
    margin: 1rem 0 5rem;
}

.storefront section.widget {
    margin: 2rem 0;
    background: #000;
    padding: 1rem;
    color: #FFF;
}
.storefront section.widget h2 {
    margin: 0;
    font-size: 1.8em;
    border-bottom: 1px solid #999;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

aside.storefront-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #263934;
    color: #FFF;
    box-shadow: 0 0 8px #000000CC;
}
aside.storefront-sidebar .sticky {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: auto;
}
aside.storefront-sidebar header {
    border-bottom: 1px solid #263934;
}
aside.storefront-sidebar header > a {
    display: block;
    padding: 1rem;
    color: #B4CCC6;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #263934;
}
aside.storefront-sidebar header > a img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 1em;
    margin-bottom: 4px;
    margin-top: -4px;
}
aside.storefront-sidebar header ul.socials-banner {
    padding: 0;
    margin: 0;
    background: #1D2E23;
}
aside.storefront-sidebar header ul.socials-banner li {
    font-size: 22px;
    display: inline-block;
    margin: 1px;
    flex: 1;
    text-align: center;
}
aside.storefront-sidebar header ul.socials-banner li a {
    color: #FFF;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    position: relative;
    height: 100%;
}
aside.storefront-sidebar header ul.socials-banner li a:hover  {
    background-color: #74BB50;
}
.cart-count-badge {
    position: absolute;
    background: #910000;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    right: 0;
    top: 0;
    box-shadow: 0 0 5px #00000099;
}
.sidebar-launcher .cart-count-badge {
    position: absolute;
    display: block;
    vertical-align: baseline;
    right: auto;
    left: 12px;
    top: 17px;
}
aside.storefront-sidebar nav {

}

aside.storefront-sidebar nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
aside.storefront-sidebar nav ul li {

}
aside.storefront-sidebar nav ul li.title {
    font-weight: bold;
    font-size: 1.5em;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
    color: #FFF;
}
aside.storefront-sidebar nav ul li a {
    display: block;
    padding: 1rem;
    color: #FFF;
    text-decoration: none;
}
aside.storefront-sidebar nav ul li a i:first-child {
    margin-right: 0.5rem;
}
aside.storefront-sidebar nav ul li a:hover {
    background-color: #1D2E23;
}

aside.storefront-sidebar nav ul li a small {
    font-size: 0.7em;
    color: #B4CCC6;
}
aside.storefront-sidebar + div.storefront {
    margin-left: 300px;
}

/*
 * Marketplace sidebar needs tighter spacing
 */
aside.marketplace-sidebar {}
aside.marketplace-sidebar header { }
aside.marketplace-sidebar nav ul li a {
    padding: 0.5rem 1rem;
}
aside.marketplace-sidebar nav ul li a i {
    width: 20px;
    text-align: center;
}

/**
 * Sidebar launcher show/hide stuff
 */
.sidebar-launcher, .back-to-top {
    position: relative;
    background: #316C29CC;
    border-radius: 5em;
    color: #FFF;
    padding: 1rem 2rem;
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 0 10px #00000099;
    font-size: 1em;
}

.sidebar-launcher:hover, .back-to-top:hover {
    background: #74BB50;
}

.sidebar-launcher i, .back-to-top i { }


.floating-tools {
    position: sticky;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 1em;
    justify-content: space-between;
    z-index:400;
    display: flex;
    display: none;
}

section#socials {
}

ul.socials-banner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

ul.socials-banner li {
    list-style-type: none;
    margin: 0 10px;
    font-size: 2.3em;
}

ol.links {
    padding: 0;
    margin: 0 auto 10rem;
    list-style-type: none;
    max-width: 600px;
    display: block;
}

ol.links li {
    margin: 1rem;
    border: 1px solid #EEE;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
}

ol.links li:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

ol.links li .icon {
    padding: 20px;
    font-size: 60px;
}

ol.links li .icon img {
    vertical-align: bottom;
    width: 80px;
    height: 80px;
}

ol.links li .content {
    flex-grow: 1;
    padding: 2rem;
    text-align: right
}

ol.links li .content .title {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 0.5rem;
}

ol.links li .content .description {

}

section header.green-to-transparent {
    background: linear-gradient(90deg, #263934 0%, transparent 90%);
    text-align: left;

    position: sticky;
    top: 0;
    z-index: 102;
}
section header.green-to-transparent h2 {
    margin: 0;
    padding: 1rem;
    color:#B4CCC6;
}
section header.green-to-transparent p {
    margin: 0;
    color:#B4CCC6;
    padding: 0 1rem 1rem 1rem;
}
.product-tiles {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-tiles .product-tile {
    width: 300px;
    height: 500px;
    flex: 1 1 25em;
    max-width: 800px;
    overflow: hidden;
}

.product-tile {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #316C2966;
}
.product-tile .clickarea {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
}

.product-tile .random-hj {
    position: absolute;;
    top: 0;
    right: 0;
    background: #000000CC;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    box-shadow: 0 0 10px #00000099;
}
.product-tile .random-hj img {
    padding: 0;
    width: 60px;
}
.product-tile .random-hj p {
    margin: 0;
    font-size: 10px;
    position: absolute;
    width: 100%;
    bottom: 5px;
}

.product-tile .product-info {
    /** This is the background transparency container */
    background: #B4CCC6;
    box-shadow: 0 -3px 10px #00000066;
    padding: 1rem;
    height: auto;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    color: #263934;
    text-align: left;
    min-height: 123px;
}
.product-tile.folder-tile .product-info {
    min-height: 100px;
}

.product-tile h4 {
    margin: 0;
    margin-bottom: 1rem;
    font-size: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.product-tile h4 a {
    color: #316C29;
    text-decoration: none;
}
.product-tile h4 a:hover {
    color: #74BB50;
}

.product-tile img {
    max-height: 150px;
    padding: 20px;
}
@keyframes bgpanvertical {
    /**
     * Pan smoothly from center, bottom, top, center
     */
    0% {
        object-position: 50% 50%;
    }
    25% {
        object-position: 100% 100%;
    }
    75% {
        object-position: 0% 0%;
    }
    100% {
        object-position: 50% 50%;
    }
}
.product-tile img.product-image {
    height: 100%;
    width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    padding: 0 0 123px;
}
.product-tile.folder-tile img.product-image {
    padding-bottom: 100px;
}
.product-tile:hover img.product-image {
    animation-name: bgpanvertical;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
.product-tile .description {
    color: #263934;
    margin: 0;
    max-height: 48px;
    overflow: hidden;
}
.product-tile .price {
    color: #263934;
    margin: 0;
}

.product-tile .seller {
    color: #263934;
    font-size: 0.8em;
    margin-top: -1.5em;
    margin-bottom: 1em;
}
.product-tile .seller .seller-link {
    color: #316C29;
    text-decoration: none;
}
.product-tile .seller .seller-link:hover {
    color: #74BB50;
}
.product-tile .product-type {
    background: #263934;
    margin: 0;
    position: absolute;
    font-size: 0.8em;
    color: white;
    border-radius: 1em;
    padding: 2px 10px;
    display: block;
    top: -10px;
    right: 5px;
    rotate: 20deg;
}
.product-tile .save-product-btn {
    display: block;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1em;
    text-shadow: 0 0 1em #00000066;
}
.product-tile .save-product-btn.saved {
    color: #9b1e00;
}
.product-tile .save-seller-btn {
    margin-left: 1em;
}
.product-tile .save-seller-btn.saved {
    color: #74BB50;
}

section {}
section .product-tiles {
    overflow: auto;
}
section .product-tiles .product-tile {
}
section .meta-bottom {
    background:#B4CCC6 ;
    color:  #1D2E23;
    margin: 2rem auto;
    max-width: 700px;
}
section .meta-bottom p {
    margin: 0;
    font-weight: bold;
    line-height: 5rem;
}
section .meta-bottom p.store-cta {
    font-size: 1.2em;
    font-weight: bold;
}
section .meta-bottom p.store-cta a {
    background: #263934;
    display: block;
}

section.product-section {
    text-align: left;
    background: linear-gradient(180deg, #1D2E23 0%, transparent 80%);
    margin-bottom: 2rem;
}
section.product-section h2 {
}
section.product-section p {
}
/* p that's right after h2 should get a border */
section.product-section h2 + p {
    /*border-bottom: 1px solid #B4CCC6;*/
    padding: 0 1rem 1rem 1rem;
}

/**
 * Product detail page
 */
section.product-details {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-content: stretch;
}
section.product-details .extended-description {
    max-width: 400px;
    max-height: 500px;
    background-color: #b4ccc6DD;
    overflow: auto;
    padding: 0 2rem 1rem 2rem;
    color: #1d2e23;
    text-align: left;
    margin-bottom: 2rem;
}
section.product-details .extended-description h3 {
    color: #1d2e23;
}
section.product-details .product-detail {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 2rem;
}
section.product-details .product-detail .product-tile {
    min-height: 500px;
    max-height: 800px;
    height: 55vh;
    width: 50vw;
}
section.product-details .product-detail.small .product-tile {
    height: 24vh;
    width: 40vw;
}

/**
 * Product detail page product gallery
 * should be horizontally scrollable
 */
.product-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
}
.product-gallery figure {
    margin: 0;
    cursor: pointer;
}
.product-gallery figure img, .product-gallery figure video {
    vertical-align: top;
    height: 300px;
}
.product-gallery figure figcaption {
    text-align: center;
    font-size: 0.8em;
    color: #B4CCC6;

}

/**
 * Standard form
 */
form { }
form .group {
    display: block;
    margin-bottom: 2rem;
}
form .group label {
    display: block;
    margin-bottom: 0;
    font-weight: bold;
    color: #1D2E23;
}
form .group .help, p.help {
    font-size: 0.9em;
    font-style: italic;
}

form input, form textarea, form select, form input[type="text"] {
    padding: 1rem;
    margin: 0.5rem auto;
    border: none;
    cursor: pointer;
    font-weight: bold;
    min-width: 400px;
    width: 400px;
    font-family: "Jost", Arial, sans-serif;
    background: #EEE;
    color: #263934;
    height: auto;
    font-size: 14px;
}
form input[type="file"] {
    background: #EEE;
}
form input[type="submit"] {
    background: #316C29;
    color: #FFF;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.button {
    display: inline-block;
    font-size: 14px;
}
form .button {
    width: 400px;
    min-width: 400px;
}
form input[type="submit"].secondary, .button.secondary {
    background: #EEF0EE;
    color: #263934;
    border: 1px solid #316C29;
}
form input[type="submit"]:hover {
    background: #74BB50;
}
form input[type="submit"].secondary:hover {
}
form .group input[type="submit"].danger, form .group button.danger, a.button.danger {
    background-color: #721c24;
    color: white;
}

/** Split groups using flexbox */
form .split {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
form .split .group {
    flex: 1;
}

.shipping-form-section, .white-panel {
    max-width: 900px;
    background: white;
    padding: 2rem 2rem ;
    margin: 2rem auto 2rem;
    color: black;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.shipping-form-section h3, .readable .shipping-form-section h3 ,
.shipping-form-section h4, .readable .shipping-form-section h4 {
    color: black;
    margin-top: 0;
    padding-top: 0;
}

/**
 * Add to Cart form
 */
form.add-to-cart {
    padding: 2rem;
    background: #B4CCC6;
}
form.add-to-cart .group {
}
form.add-to-cart .group label {
}

form.add-to-cart input, form.add-to-cart textarea, form.add-to-cart select {
}

form.add-to-cart input[type="submit"] {
}

form.low-contrast {
    max-width: 600px;
    margin: 0 auto;
    background: #FFF;
    padding: 2rem;
    box-shadow: 0 0 10px #00000033;
}
form.low-contrast .group p.help {
    max-width: 400px;
}

.address-autocomplete-target {
    border-top: 1px solid #CCC;
    margin-bottom: 2rem;
}
.split .address-autocomplete-target {
    flex: 2;
}
.address-autocomplete-target ul {
    list-style-type: none;
    padding: 0;
    margin: 0;

}
.address-autocomplete-target ul li {
    padding: 8px;
    background: #EEE;
    margin: 0.5rem 0;
    cursor: pointer;
    font-size: 12px;
}
.address-autocomplete-target ul li:hover {
    background: #DDD;
}

/**
 * Payment form (credit card form)
 */
form.payment-form {
    background: #fafafa;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 0 10px #00000099;
}
form.payment-form h1, form.payment-form h2, form.payment-form h3, form.payment-form h4, form.payment-form h5 {
    margin: 0;
    padding: 1rem;
    color: #1D2E23;
}
form.payment-form a {
    color: #316C29;
    text-decoration: none;
}
form.payment-form input, form.payment-form select {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem auto;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-family: "Jost", Arial, sans-serif;
}

/**
 * Header search form
 */

form.search-form {
}
form.search-form .row {
    display: flex;
    justify-content: center;
    margin: 1rem auto;
    gap: 1rem;
    max-width: 800px;
    padding: 0 1rem;
}
form.search-form input, form.search-form select {
    padding: 1rem 2rem;
    font-size: 1.2em;
    width: 100%;
    max-width: 800px;
    border: none;
    border-radius: 5em;
    background: #316C29;
    color: #FFF;
    margin: 0;
}
form.search-form input::placeholder {
    color: #ddd;
}
form.search-form select {
    padding: 1rem;
    font-size: 14px;
    width: 100%;
    max-width: none;
    min-width: 0;
    border: none;
    border-radius: 2em;
    background: #316C29;
    color: #FFF;
    margin: 0;
    appearance: none;
    text-align: left;
}
form.search-form .row select:last-child {
    margin-right: 65px;
}
form.search-form button {
    padding: 1rem;
    font-size: 1.2em;
    border: none;
    border-radius: 5em;
    background: #1f431a;
    color: #FFF;
    cursor: pointer;
}

/**
 * Readable style
 */
.readable {
    background: #B4CCC6;
    color: #1D2E23;
    padding-top: 2rem;
    padding-bottom: 5rem;
}
.readable.balanced {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.readable.slim {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.readable p {
    margin: 0 auto 1rem auto;
    max-width: 500px;
}
.readable p:first-child {
    margin-top: 1rem;
}
.readable h1, .readable h2, .readable h3 {
    margin: 0;
    padding: 1rem;
    color: #1D2E23;
}

.readable .custom-page-content {
    max-width: 800px;
    margin: auto;
    padding: 1rem;
    text-align: left;
}
.readable img, .readable video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
}
.readable .custom-page-content img,
.readable .custom-page-content video {
    max-width: 100%;
    height: auto;
}
.readable .custom-page-content p, .readable .custom-page-content h1, .readable .custom-page-content h2, .readable .custom-page-content h3 {
    max-width: 800px;
    padding: 0;
    margin: 0 0 1rem 0;
}
.readable .custom-page-content h1, .readable .custom-page-content h2, .readable .custom-page-content h3 {
    margin: 0 0 2rem 0;
}

.readable a {
    color: #316C29;
    text-decoration: none;
}
.readable a:hover {
    color: #1D2E23;
}

/**
 * DIY Payment Page
 */
.payment-methods {
}
.payment-methods .readable {
}
.payment-methods .readable p {
}
.payment-methods .readable h2, .payment-methods .readable h3 {
}
.payment-methods ol.how-to-pay {
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
    text-align: left;
}
.payment-methods ol.how-to-pay li {
    margin: 1rem 0;
}
.payment-methods ol.how-to-pay li.bold {
    font-weight: bold;
}
.payment-method a {
    display: inline-block;
    padding: 1rem;
    background: white   ;
    color: black;
}

table {
    border-collapse: collapse;
    text-align: left;
}
table td, table th {
    padding: 4px 8px;
}
/**
 * Customer Order page
 */
table.order-messages {
    width: 90%;
    max-width: 800px;
    margin: auto;
    border-collapse: collapse;
}
table.order-messages td {
    border: 1px solid #DDD;
    padding: 1rem;
    background: #eee;

}

table.order-summary {
    text-align: left;
    width: 100%;
}
table.order-summary td ,
table.order-summary th {
    border: 1px solid #ccc;
    padding: 1rem;
    word-wrap: break-word;
    word-break: break-word;
}

/**
 * Get/view file page
 */

.get-file-wrapper {
    padding-top: 1rem;
}

.video-viewer-wrapper {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 1600px;
}
.video-viewer-wrapper video {
    width: 100%;
    height: auto;
}

.flash.error {
    background: #9b1e00;
    padding: 1em;
    color: white;
}
.flash.error a { color: white; }
.flash.error a:hover { color: #fbc7b9; }
.flash.success {
    background: #316C29;
    padding: 1em;
    color: white;
}
.flash.success a { color: white; }
.flash.success a:hover { color: #cfe7ca; }
.flash.warning {
    background: #ad6000;
    padding: 1em;
    color: white;
}
.flash.warning a { color: white; }
.flash.warning a:hover { color: #e1d9cc; }

/**
 * Paginator
 */
.paginator {
    padding: 2em 0 ;
}
.paginator ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.paginator ul li {

}

.paginator ul li a {
    padding: 5px;
}
.paginator ul li a.active {
    background: #316C29;
    color: #FFF;
    border-radius: 5px;
}
.paginator ul li a:hover {

}

/**
 * Marketplace channel tiles
 */
.channel-tiles {
    gap: 2rem;
}
.channel-tile {
    display: flex;
    align-items: center;
    background: #FFFFFF33;
    width: 100%;
    padding: 1rem;
    gap: 2rem;
}
.channel-tile .product-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}
.channel-tile .product-previews .product-preview {
    height: 100%;
    position: relative;
    flex: 1 1 150px;
    max-width: 400px;
}
.channel-tile .product-previews .product-preview a {
    display: block;
    text-decoration: none;
}
.channel-tile .product-previews .product-preview a.img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 160px;
    margin-bottom: 1em;

}
.channel-tile .product-previews .product-preview a.save-product-btn {
    font-size: 12px;
    color: #CCC;
}
.channel-tile .channel-info {
    width: 400px;
}
.channel-tile .channel-info .channel-avatar {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 1rem auto;
    position: relative;
}
.channel-tile .channel-info .channel-avatar .clickarea {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.channel-tile .channel-info h4 {
    margin-bottom: 5px;
}
.channel-tile .channel-info .save-seller-wrapper {
    margin-top: 0;
    font-size: 12px;
}
.channel-tile .channel-info .save-seller-wrapper a {
    color: #CCC;
    text-decoration: none;
}
.channel-tile .channel-info .save-seller-wrapper a.saved {
    color: #74BB50;
}
.channel-tile .channel-info .subtitle {
    margin-bottom: 2px;
    font-size: 15px;
}
.channel-tile .channel-info .description {
    margin-top: 0;
    font-size: 13px;
}

/**
 * Shopping cart
 */

.cart-items {
    padding: 1rem;
}
.cart-items header {
    display: flex;
    border-bottom: 1px solid #333;
    padding: 0 1rem;
}
.cart-items header strong {
    flex: 1 1 25%;
    padding: 1rem;
}
.cart-items .items-table {
}
.cart-items .items-table .cart-item {
    padding: 1rem;
    margin: 1rem 0;
    border-bottom: 1px solid #333;
}
.cart-items .items-table .cart-item h3 {
    margin-bottom: 1rem;
    padding: 0;
}
.cart-items .items-table .cart-item form {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 1rem;
    margin-bottom: 1rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.cart-items .items-table .cart-item form input,
.cart-items .items-table .cart-item form textarea,
.cart-items .items-table .cart-item form select
{
    display: block;
    width: 100%;
    min-width: 200px;
}
.cart-items .items-table .cart-item form > div {
    flex: 1 1 20%;
}
.cart-items .items-table .cart-item .product-img {
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto auto 1rem;
}
.cart-items .items-table .cart-item p {
    margin: 0;
}

/**
 * Blog
 */

.blog-post-previews {
    display: flex;
    gap: 4rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-post-preview {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-around;
    flex: 1 1 100%;
    padding: 1rem;
}
.blog-post-preview figure {
    margin: 0;
}
.blog-post-preview figure img {
    margin: auto;
}
.blog-post-preview .right {
    flex: 2;
}
.blog-post-preview h2 {
    margin: 2rem 0 0 0;
    padding: 0;
}
.blog-post-preview p.byline {
    font-size: 0.8em;
    font-style: italic;
}
.blog-post-preview p.excerpt {
}
.blog-post-preview p.read-more {

}

.shopper-subscription-feed {}
.shopper-subscription-feed .blog-post-preview {
}

/**
 * Toast
 */
#toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #222;
    color: #FFF;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px #00000099;
    display: none;
    opacity: 0.95;
}
#toast.show {
    display: block;
}
#toast.success {
    background: #316C29;
}
#toast.error {
    background: #9b1e00;
}
#toast.warning {
    background: #ad6000;
}

/**
 * Custom brand icons that behave like fontawesome
 * We use images for these, not a webfont
 */
i.fa-custom {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: baseline;
}
i.fa-custom.fa-clapper {
    background-image: url('/images/icons/clapper-orange.png');
}
i.fa-custom.fa-etsy {
    background-image: url('/images/icons/etsy-orange.png');
}
i.fa-custom.fa-substack {
    background-image: url('/images/icons/substack.png');
}
i.fa-custom.fa-patreon {
    background-image: url('/images/icons/patreon-black.png');
}
i.fa-custom.fa-kofi {
    background-image: url('/images/icons/kofi_symbol.png');
}
a i.fa-custom {
    height: 100%;
}


/**
 * Product gallery lightbox
 */
#product-gallery-lightbox-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000CC;
    display: none;
    z-index: 200;
}
#product-gallery-lightbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    padding: 1rem;
    min-width: 60vw;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

#product-gallery-lightbox-content figure {
    margin: 0;
}
#product-gallery-lightbox-content figure img {
    max-width: 100%;
    height: auto;
}
#product-gallery-lightbox-content figure figcaption {
    text-align: center;
    color: #111b14;
    margin: 1rem;
}

/**
 * Product reviews
 */

.review {
    font-size: 13px;
    margin-top: 2rem;
}
.review .byline {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 0;
}
.review p {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;

}

/**
 * Comments
 */
.comment-wrapper {
    padding: 1rem 0;
    max-width: 600px;
    margin: auto;
    text-align: left;
}
.comment-wrapper .byline {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 0;
}
.comment-wrapper .comment {
}
.comment-wrapper .replies {
    padding-left: 2rem;
}

/**
 * Utilities
 */
.lifted {
    margin-top: -1rem;
}
/**
 * Responsive styles
 */

@media screen and (max-width: 900px){
    section.product-details .product-detail .product-tile {
        height: 40vh;
        width: 94vw;
    }
    section.product-details .product-detail.small .product-tile {
        width: 94vw;
    }
    .product-tile .random-hj {
        top: 0;
        right: 0;
    }

    .product-tile:hover img.product-image {
        /* Disable animation on mobile */
        animation-name: none;
    }

    aside.storefront-sidebar {
        display: none;
    }
    aside.storefront-sidebar.open {
        display: block;
        position: fixed;
        z-index: 300;
    }
    .floating-tools {
        display: flex;
    }

    aside.storefront-sidebar + div.storefront {
        margin-left: 0;
    }
    aside.storefront-sidebar nav {
        margin-bottom: 20vh;
    }

    .product-tiles {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    section#featured-products .meta-bottom p.store-cta {
        line-height: 1.2em;
    }
    section#featured-products .meta-bottom p.store-cta a {
        padding: 1rem;
    }
    form input, form input[type=text], form textarea, form select, form .button {
        min-width: 100px;
        width: 90%;
    }
    form .split {
        display: block;
    }
    form.add-to-cart input, form.add-to-cart textarea, form.add-to-cart select, form.add-to-cart .button {
        min-width: 100%;
    }
    .payment-methods ol.how-to-pay {
        max-width: 100%;
        padding: 0 1rem 0 2rem;
    }

    .subscription-cta h2 {
        font-size: 2em;
    }
    .subscription-cta h5 {
        font-size: 1.2em;
    }
    .subscription-cta a.cta {
        font-size: 1.2em;

    }
    .readable {
        padding: 0.5rem;
    }
    .shipping-form-section, .white-panel {
        padding: 1rem;
    }
    table.order-summary td, table.order-summary th {
        padding: 0.5rem;
        font-size: 12px;
    }

    .channel-tile {
        display: block;
    }
    .channel-tile .product-previews {
        display: block;
    }
    .channel-tile .product-previews .product-preview {
        width: 100%;
        margin: 1rem auto;
    }
    .channel-tile .channel-info {
        width: 100%;
        margin-bottom: 3rem;
    }
    .channel-tile .product-previews .product-preview a.img {
        width: 100%;
    }
    .cart-items .items-table .cart-item form {
        gap: 0;
        flex-direction: column;
    }
    .cart-items .items-table .cart-item .remove-cart-item {
        display: block;
        margin-bottom: 2rem;
    }

    #product-gallery-lightbox {
        width: 98vw;
    }

    form.search-form .row select:last-child {
        margin-right: 0;
    }
}
