:root {
    --font-logo: 'Kaushan Script', 'Tahoma', 'cursive';
    --font-header: 'Amatic Sc', 'Verdadna', 'cursive';
    --font-body: 'Open Sans', 'sans-serif';

    --color-background: #393E41;
    --color-font: #F6F7EB;

    --color-background-alpha: #393E41;
    --color-font-alpha: #ffffffcc;

    --color-highlight: #f2a63c;
}

html {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 300;
    line-height: 20px;

    background-color: var(--color-background);
    color: var(--color-font);

    scroll-behavior: smooth;
    min-height: 100vh;
}

h1 {
    font-family: var(--font-logo);
}

h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
}

a {
    font-weight: 400;
    text-decoration: none;
    color: var(--color-highlight);
}

b,
strong {
    font-weight: 600;
}

ul,
ol {
    padding-left: 1.5rem;
}

ul li,
ol li {
    line-height: 1.25rem;
}

ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

p {
    margin: 0.5rem 0 0.25rem;
    line-height: 1.15rem;
}

/* ------------------------------------------
 * Header
 */

header {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

header img {
    display: block;
    max-height: 15vh;
    max-width: 90vw;
}

header img.large {
    display: block;
    max-height: 30vh;
    max-width: 90vw;
}

/* ------------------------------------------
 * Section Welcome
 */

section.welcome {
    min-height: 100vh;

    background-image: url('/image/bg/couch-stretch.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    box-shadow: 0 0 4vw -1vw var(--color-background) inset;
}

section.welcome .navigation {
    max-width: calc(15rem * 3);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
}

section.welcome .navigation h2 {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 3rem;
    text-align: center;
}

section.welcome .navigation .column {
    display: flex;
    align-items: center;
    flex-direction: column;
}

section.welcome .navigation .column nav {
    padding-top: 0.5rem;

    display: grid;
    grid-template-columns: minmax(1px, 1fr);
    row-gap: 0.5rem;
}

section.welcome .navigation .column nav a {
    display: block;
    font-family: var(--font-header);
    color: var(--color-font);
    font-size: 1.5rem;
    line-height: 2rem;
}

section.welcome .navigation .column nav a:hover {
    color: var(--color-highlight)
}

section.welcome .navigation .column nav a>svg {
    display: inline-block;
    text-align: center;
    min-width: 2rem;
    margin-righT: 0.5rem;
}

section.welcome .navigation .column nav a .sup {
    margin-left: 0.25rem;
    display: inline-block;
    font-size: 1rem;
    vertical-align: text-top;
    font-weight: 700;
    line-height: 1.5rem;
    color: var(--color-highlight);
}

section.welcome .navigation .column nav a .sup>svg {
    display: inline-block;
    text-align: center;
    min-width: 1rem;
    margin-righT: 0.25rem;
}

@media all and (max-width: calc(18rem * 3)) {
    section.welcome {
        padding: 2rem;
        background-attachment: local;
    }

    section.welcome .navigation {
        max-width: 16rem;
        grid-template-columns: minmax(1px, 1fr);
        row-gap: 2rem;
    }

    section.welcome .navigation h2 {
        text-align: left;
    }

    section.welcome .navigation .column {
        display: block;
    }
}

/* ------------------------------------------
 * Section Services
 */

section.services {
    min-height: 100vh;

    background-image: url('/image/bg/soft-touch.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    box-shadow: 0 0 4vw -1vw var(--color-background) inset;

    display: flex;
    justify-content: center;
    align-items: center;
}

section.services .columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;

    width: 100%;
    max-width: calc(20rem * 3);
    min-height: 50vh;
}

section.services .columns .column {
    grid-column: span 1;
    grid-row: span 4;
    display: block;

    color: var(--color-background);
    background-color: var(--color-font-alpha);
    padding: 2rem;
}

section.services .columns .column .label {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: center;
}

section.services .columns .column h2 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 4rem;
    text-align: center;
    margin: 1rem 0;
}

section.services .columns .column .pricing {
    text-align: center;
    min-height: 4.5rem;
    margin-bottom: 2rem;
    font-weight: 300;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

section.services .columns .column .pricing .tag {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
}

section.services .columns .column .pricing .tag .symbol {
    font-weight: 300;
}

section.services .columns .column .pricing .tag.beforeDiscount {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1rem;
    text-decoration: line-through;
}

section.services .columns .column .pricing .tag.theDiscount {
    display: block;
    font-weight: 900;
    font-size: 2rem;
    line-height: 2rem;
    color: var(--color-highlight);
}

section.services .columns .column .pointers {
    grid-row: span 1;
}

section.services .columns .column .pointers ul {
    list-style: disc;
    padding-left: 1rem;
}

section.services .columns .column .pointers ul li {
    margin: 1rem 0;
}

section.services .columns .column .pointers ul li,
section.services .columns .column .pointers p {
    line-height: 1.35rem;
}

@media all and (max-width: calc(22rem * 3)) {
    section.services {
        padding: 2rem;
        background-attachment: scroll;
    }

    section.services .columns {
        grid-template-columns: minmax(1px, 1fr);
        row-gap: 2rem;
    }
}

/* ------------------------------------------
 * Section Services
 */

section.shopping {
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);

    display: flex;
    flex-basis: auto;
    justify-content: center;
    align-items: center;
}

section.shopping .intro {
    padding: 2rem;
    text-align: center;
}

section.shopping .intro h2 {
    font-size: 3rem;
    line-height: 1em;
}

section.shopping .preview {
    padding: 2rem;
    width: 1200px;
    max-width: calc(100vw - 8rem);
}

section.shopping .preview .displaygrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    column-gap: 2rem;
    row-gap: 3rem;
}

section.shopping .preview .displaygrid .item img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

section.shopping .cta {
    padding: 2rem;
    padding-top: 1rem;
    text-align: center;
}

/* ------------------------------------------
 * Section User Navigation
 */

aside.usernav {
    padding: 1rem;
    box-shadow: 0 3rem 3rem -2rem var(--color-background-alpha) inset;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

aside.usernav .wrapper {
    max-width: 1500px;
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 1rem;
}

aside.usernav.unlogged .wrapper {
    justify-content: flex-end;
}

aside.usernav sup {
    margin-left: 0.25rem;
    display: inline-block;
    font-size: 0.65rem;
    vertical-align: text-top;
    font-weight: 300;
    line-height: 1rem;

}

/* ------------------------------------------
 * Section Admin Single Item Products
 */

section.admingroup {
    padding: 2rem 1rem;
}

section.admingroup .wrapper {
    max-width: 24rem;
    margin: 0 auto;
}

section.admingroup .wrapper>h2 {
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ------------------------------------------
 * Section Editor Single Item Products
 */

section.admingroup.singleitemproducteditor form {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-highlight);
}

section.admingroup.singleitemproducteditor form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

section.admingroup.singleitemproducteditor form input {
    display: block;
    margin: 1rem 0;
    padding: 0.25rem 0.5rem;
    border: 0;
    width: calc(100% - 1rem);
}

section.admingroup.singleitemproducteditor form .wysiwyg {
    margin: 1rem 0;
    min-height: 12rem;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
    line-height: 1.25rem;
}

section.admingroup.singleitemproducteditor form button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
    background-color: var(--color-highlight);
    color: var(--color-font);
    border: 0;
}

/* ------------------------------------------
 * Section Admin Single Item Products
 */


section.admingroup.singleitemproducts .siplist {
    display: grid;
    grid-template-columns: minmax(1px, 1fr);
    row-gap: 0.5rem;
}

section.admingroup.singleitemproducts .siplist .sip {
    display: grid;
    grid-template-columns: 2fr 1fr 2rem;
    column-gap: 0.5rem;
}

section.admingroup.singleitemproducts .siplist .sip.header {
    font-weight: 900;
    color: var(--color-highlight);
}

section.admingroup.singleitemproducts .siplist .sip .current {
    text-align: right;
}

section.admingroup.singleitemproducts .siplist .sip .action {
    text-align: right;
}

/* ------------------------------------------
 * Section Admin Single Item Products
 */

section.admingroup.discounts form {
    display: grid;
    grid-template-columns: minmax(1px, 1fr);
    row-gap: 0.5rem;
}

section.admingroup.discounts form label {
    display: block;
    margin-top: 0.5rem;
}

section.admingroup.discounts form label input {
    display: inline-block;
    margin-right: 0.5rem;
}

section.admingroup.discounts form .subgrid {
    margin-top: 1rem;

    display: grid;
    grid-template-columns: auto auto;
    column-gap: 0.5rem;
}

section.admingroup.discounts form input:not([type="checkbox"]) {
    max-width: 100%;
    min-width: 6rem;
    padding: 0.5rem 1rem;
}

section.admingroup.discounts form .subgrid input {
    text-align: right;
}

section.admingroup.discounts form .subgrid button {
    padding: 0.5rem 1rem;
    background-color: var(--color-highlight);
    color: var(--color-font);
    border: 0;
}

section.admingroup.discounts .timeline {
    margin-top: 2rem;

    display: grid;
    grid-template-columns: minmax(1px, 1fr);
    row-gap: 2rem;
}

section.admingroup.discounts .timeline .item {
    display: grid;
    grid-template-columns: 2rem 3fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    grid-template-areas: "delete start pct" "delete end pct" "tags tags tags";
    column-gap: 0.5rem;
    row-gap: 0.5rem;
}

section.admingroup.discounts .timeline .item .delete {
    grid-area: delete;

    display: flex;
    justify-content: center;
    align-items: center;
}

section.admingroup.discounts .timeline .item .from {
    grid-area: start;
}

section.admingroup.discounts .timeline .item .to {
    grid-area: end;
}

section.admingroup.discounts .timeline .item .pct {
    grid-area: pct;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

section.admingroup.discounts .timeline .item .tags {
    grid-area: tags;
    padding-top: 0.2rem;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.5rem;
}

section.admingroup.discounts .timeline .item .tags .tag {
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    background-color: var(--color-highlight);
    font-weight: bold;
    font-size: 0.6rem;
    line-height: 1em;
}

section.admingroup.discounts .timeline button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #FC5130;
    color: var(--color-font);
    border: 0;
}

/* ------------------------------------------
 * Footer
 */

footer {
    padding-top: 1rem;
}

footer .quickline {
    padding: 1rem 2rem;
    font-weight: 300;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1rem;
}

footer .quickline .coln {
    display: block;
}

footer .quickline .coln svg {
    display: inline-block;
    margin-right: 0.25rem;
    min-width: 1.5rem;
    text-align: center;
}

footer .legal {
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1rem;
    font-weight: 400;
}

footer .legal .name {
    font-weight: 700;
}