@font-face {
    font-family: "Libre Baskerville";
    src: url("../fonts/LibreBaskerville-Regular.woff2") format("woff2"),
        url("../fonts/LibreBaskerville-Regular.woff") format("woff"),
        url("../fonts/LibreBaskerville-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Aviano Sans";
    src: url("../fonts/AvianoSansBlack.woff2") format("woff2"),
        url("../fonts/AvianoSansBlack.woff") format("woff"),
        url("../fonts/AvianoSansBlack.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Aviano Sans";
    src: url("../fonts/AvianoSans.woff2") format("woff2"),
        url("../fonts/AvianoSans.woff") format("woff"),
        url("../fonts/AvianoSans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("../fonts/LibreBaskerville-Bold.woff2") format("woff2"),
        url("../fonts/LibreBaskerville-Bold.woff") format("woff"),
        url("../fonts/LibreBaskerville-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "League Spartan";
    src: url("../fonts/LeagueSpartan-Bold.woff2") format("woff2"),
        url("../fonts/LeagueSpartan-Bold.woff") format("woff"),
        url("../fonts/LeagueSpartan-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* VARIABLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    /* Colorscheme */
    --1: #3b3c36; /* Dark */
    --2: #ac812d; /* Colorful */
    --3: #f5e3e0; /* Bright */
    --4: #fff8f7; /* Brightest */
    --green: #009077;

    /* Fonts */
    --h: "Aviano Sans", sans-serif; /* headings */
    --p: "Libre Baskerville", serif; /* paragraphs */
    --ui: "League Spartan", sans-serif; /* buttons */
}

/* RESETS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -mox-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}
input,
textarea,
select {
    border: 2px solid rgba(0, 0, 0, 0);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    outline: 0;
    font-size: 0.8rem;
}
input:focus,
textarea:focus,
select:focus {
    border: 2px solid rgba(173, 128, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(173, 128, 0, 1) !important;
    transition: all 0.15s ease;
}

/* STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
    font-family: var(--p);
    background-color: var(--3);
    color: var(--1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    opacity: 1;
    transition: 1s opacity;
}
body#shop {
    background: url("../img/shop-bg-grad.jpg") center center / cover no-repeat;
}
body#cart-bg {
    background: url("../img/shop-bg-grad2.jpg") center center / cover no-repeat;
}
body#customizer {
    background: url(../img/customizer-grad.jpg) center center / cover no-repeat;
}
body#story {
    background: url(../img/history-bg2.jpg) center center / cover no-repeat;
}
body#warranty-bg {
    background: url(../img/warranty-bg.jpg) center center / cover no-repeat;
}
body#mens-bg {
    background: url(../img/mens-bg.jpg) center center / cover no-repeat;
}
body.fade-out {
    opacity: 0;
    transition: none;
}

.arrow-links li a::after {
    content: "\f3d1";
    display: inline-block;
    float: right;
    font-family: "Ionicons";
}

ul {
    list-style: none;
}
.shadow {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.16);
}

/* Typography */
h1 {
    font-family: var(--h);
    font-size: 3rem;
    line-height: 2rem;
    margin-top: 0;
    font-weight: 800;
}
h1.small {
    font-size: 1.25rem;
    line-height: 0.7;
    font-weight: 100;
}
h2 {
    font-family: var(--h);
    font-size: 2rem;
    line-height: 1.25rem;
    margin-top: 0;
    font-weight: 800;
}
h2.small {
    font-size: 0.9rem;
    line-height: 0.7;
    font-weight: 100;
    margin-bottom: 0.5rem;
}
h3 {
    font-family: var(--h);
    font-size: 1.5rem;
    line-height: 1rem;
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 800;
}
h3.small {
    font-size: 0.8rem;
    line-height: 0.65rem;
    font-weight: 100;
    margin-bottom: 0.3rem;
}
h4 {
    font-family: var(--h);
    font-size: 1.25rem;
    line-height: 0.8rem;
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 800;
}
h4.small {
    font-size: 0.8rem;
    line-height: 0.65rem;
    font-weight: 100;
    margin-bottom: 0.3rem;
}
a {
    font-family: var(--ui);
}
h1 .icon {
    display: inline;
    position: absolute;
    margin-left: 1rem;
    margin-top: -0.5rem;
    font-size: inherit;
}
h2 .icon {
    display: inline;
    position: absolute;
    margin-left: 1rem;
    margin-top: -0.5rem;
    font-size: inherit;
}
h3 .icon {
    display: inline;
    position: absolute;
    margin-left: 1rem;
    margin-top: -0.5rem;
    font-size: inherit;
}
.ui {
    font-family: var(--ui);
}
.price {
    font-family: var(--p);
}
.qoute {
    position: relative;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    font-family: var(--p);
    font-weight: bold;
}
.qoute::before {
    content: "";
    background: url(../img/qoute.svg) center center / 2rem no-repeat;
    display: block;
    position: absolute;
    font-size: 2rem;
    height: 5rem;
    width: 3rem;
    left: -4rem;
    top: -0.7rem;
    font-weight: bold;
    font-family: "Ionicons";
    /*content: "\f3fa";*/
}

.box-title {
    background-color: white;
    padding: 2rem;
}

/* Navigation menu */
#nav-toggle {
    display: none;
}
.nav-bg {
    max-width: 100vw;
    background: var(--4);
}
nav {
    max-width: 1200px;
    width: 100%;
    height: 10rem;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(min-content, max-content) auto minmax(
            min-content,
            max-content
        );
    opacity: 1;
    grid-template-areas:
        "search logo location"
        "browse logo contact";
    transition: all 0.5s ease;
}
section.content {
    max-width: 1200px;
    margin: auto;
    padding: 5rem;
}
.dark {
    color: var(--4);
    background: rgba(98, 80, 77, 0.97);
}
nav a {
    display: block;
}
#search {
    grid-area: search;
    align-self: flex-end;
}
#search-bar {
    border-color: var(--1);
    border: 0;
    width: 0;
    transition: all 0.2s ease;
    display: block;
    float: left;
}
#search-bar.open {
    width: 11.1rem;
    padding: 0.5rem;
}
#search-btn {
    transition: all 0.2s ease;
    display: block;
}
#search-btn i {
    font-size: 1.5rem;
    margin-top: -0.1rem;
    display: block;
}
#info,
#browse,
#location {
    display: grid;
    grid-template-columns:
        minmax(min-content, max-content)
        minmax(min-content, max-content);
    align-content: flex-end;
    align-self: flex-end;
}
#info a,
#browse a,
#search-bar,
#search-btn {
    height: 2.5rem;
    line-height: 1.5rem;
}
#browse {
    grid-area: browse;
}
#mens-shoes {
}
#customize {
}
#mobile-header {
    display: none;
}
#logo-bright {
    width: 15rem;
    margin: auto;
}
#logo {
    grid-area: logo;
    width: 15rem;
    margin: auto;
    display: block;
    position: relative;
    top: 2rem;
    transition: all 0.3s ease;
}
#logo:hover {
    transform: scale(0.95);
}
#location {
    grid-area: location;
}
#location a {
    color: var(--1);
}
#info {
    grid-area: contact;
}

/* Buttons and icons */
button,
input[type="button"] {
    border: 0;
    outline: 0;
}
*::placeholder {
    color: #b49995;
}
textarea {
    resize: none;
}
.btn {
    padding: 0.5rem 1rem;
    background: grey;
    text-decoration: none;
    color: var(--4);
    font-weight: bold;
    font-family: var(--ui);
    font-size: 12px;
    margin: 0;
    position: relative;
    transition: all 0.2s ease;
    transform-origin: center;
}
.btn:hover {
    box-shadow: 0px 0px 15px rgba(173, 128, 0, 0.7);
    cursor: pointer;
    transform: scale(1.05);
}
.btn::selection {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    color: var(--2);
}
a:hover,
button:hover {
    filter: brightness(120%);
    cursor: pointer;
    z-index: 99;
}
.center {
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-round,
.round {
    border-radius: 0.5rem;
}
#info .btn-fill i {
    margin-right: 0.5rem;
}
.btn i {
    font-size: 1rem;
    position: relative;
    top: 0.1rem;
    margin-left: 0.4rem;
}
select.btn {
    height: 2.1rem;
}
select.btn-fill {
    color: var(--4);
    border: 0;
}
.btn-fill {
    background-color: var(--1);
}
.btn-fill-color {
    background-color: var(--2);
}
.wishlist i {
    color: #d03333;
}
.btn.icon-only i {
    margin: 0;
}
.btn-light,
.bg-light {
    background: #887877;
}
.icon-md {
    font-size: 1.5rem;
}
.icon-lg {
    font-size: 2rem;
}

/* Modal windows */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    opacity: 1;
    transition: 0.5s all ease;
    z-index: 102;
}
.modal-exit {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    cursor: url("../img/close-cursor.png"), auto;
}
.modal-window {
    grid-column: 2;
    grid-row: 2;
    background: #4e452b;
    color: var(--4);
    max-width: 40rem;
    margin: auto;
    text-align: center;
    padding: 3rem;
    position: relative;
    transform: scale(1);
    transition: all 0.6s ease;
}
.modal-hidden {
    pointer-events: none;
    opacity: 0;
}
.modal-hidden .modal-window {
    transform: scale(0.7) translateY(5rem);
}
.modal-window .exit-modal {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 1rem;
    color: var(--2);
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
}
.modal-window input,
.modal-window textarea {
    padding: 1rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    color: var(--4);
    font-size: 1rem;
}
.modal-window form .inputs {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 1fr;
}
.modal-window button,
.modal-window a.btn {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    display: inline-block;
}
.modal-window .btn-fill {
    background: rgba(0, 0, 0, 0.5);
    color: var(--2);
}
.modal-window .btn i {
    display: inline-block;
    font-size: 1.5rem;
    position: relative;
    left: 0.5rem;
    margin-right: 0.5rem;
}
.modal-window .btn-fill-color i {
    top: 0.2rem;
}
.modal-window h1,
.modal-window h2,
.modal-window h3,
.modal-window h4,
.modal-window p {
    max-width: 20rem;
    margin-right: auto;
    display: inline-block;
    color: var(--2);
    font-weight: 100;
}
.modal-window .terms {
    margin: 3rem auto;
    color: rgba(245, 228, 225, 0.4);
    max-width: 20rem;
}
#modal-contact .buttons {
    display: grid;
    margin: 2rem 0 0 0;
}
#modal-contact form textarea {
    grid-area: 1 / 2 / 4 / 2;
}
#modal-contact textarea {
    min-width: 15rem;
}
.modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    margin-top: 1rem;
}
.terms::selection,
.terms *::selection {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.terms .checkbox-style {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    top: 0.3rem;
    left: -0.5rem;
}
.terms label:hover {
    cursor: pointer;
}
.terms label:hover > strong {
    text-decoration: underline;
}
.terms label.checkbox {
    position: absolute;
    background: rgba(245, 228, 225, 0.4);
    border-radius: 0.5rem;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 0;
    left: 0;
}
.terms label.checkbox::before {
    font-family: "Ionicons";
    content: "\f2bc";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    opacity: 0;
    top: 0.15rem;
    left: 0;
    color: rgba(0, 0, 0, 0.5);
}
.terms .checkbox-style input[type="checkbox"]:checked + label.checkbox::before {
    opacity: 1;
}
.hidden-checkbox {
    position: absolute;
    opacity: 0;
}
.login-hidden {
    display: none;
}
.success {
    margin-top: 1rem;
    max-height: 5rem;
    opacity: 1;
    transition: all 0.5s ease;
}
.success p {
    margin: 1rem 1rem 3rem 1rem;
    display: block;
    color: rgba(255, 255, 255, 0.4);
}
#modal-contact-form.form-hidden,
.form-hidden {
    display: none;
}
.success-hidden {
    opacity: 0;
    max-height: 0;
}

/* Intro section */
#intro {
    position: relative;
    overflow: hidden;
    color: var(--4);
    max-width: 1200px;
    margin: auto;
}
#intro-content {
    display: grid;
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 3rem;
    grid-template-columns: minmax(min-content, max-content) minmax(
            min-content,
            250px
        );
    grid-template-areas:
        "smalltitle text"
        "title text";
    grid-column-gap: 6rem;
    justify-content: space-around;
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.78);
}
#intro h1.small {
    grid-area: smalltitle;
    align-self: flex-end;
}
#intro h1:not(.small) {
    grid-area: title;
}
#intro p {
    grid-area: text;
    align-self: center;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: ;
}
#intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
}

/* Pick shoes section */
#pick-shoes {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
}
#by-traits li,
#by-occasion li {
    overflow: hidden;
    position: relative;
}
#by-occasion li.overflow,
.overflow {
    overflow: visible;
}
#pick-shoes li a {
    text-decoration: none;
    width: 100%;
    display: block;
}
#pick-shoes li a:hover {
    filter: none;
}
#pick-shoes li a:hover span {
    letter-spacing: 0.5rem;
}
#pick-shoes li a img {
    transform: scale(1);
    transition: all 0.6s ease;
}
#pick-shoes li a:hover img {
    transform: scale(1.2);
}
#pick-shoes li a span {
    text-align: center;
    display: inherit;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--4);
    font-weight: bold;
    font-family: var(--ui);
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.78);
    pointer-events: none;
}
#pick-shoes li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    object-fit: cover;
    height: 105%;
    z-index: -1;
    pointer-events: none;
}

#by-traits h2:not(.small) {
    max-width: 9rem;
}
#by-traits {
    display: grid;
    border-top: 8px solid var(--1);
    margin-top: -8px;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    height: 7.5rem;
}
#by-traits li a {
    padding-top: 3rem;
    width: 100%;
    display: block;
    height: 7.5rem;
}
#by-traits #accessories a {
    padding-top: 0;
}
#by-traits #accessories span {
    background: rgba(255, 255, 255, 0.8);
    height: 7.5rem;
    display: block;
    text-shadow: none;
    color: var(--1);
    padding: 3rem 0 0 0;
    text-align: center;
}
.sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 2rem;
    margin-top: 3rem;
}
#by-occasion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}
#by-occasion-title {
    grid-column: 1 / 4;
}
#by-occasion .occ-item a {
    height: 7.5rem;
    padding-top: 3rem;
}
#by-occasion .occ-links {
    display: grid;
    grid-gap: 1rem;
}
#by-occasion .occ-links a {
    padding-top: 1.3rem;
    font-size: 0.9rem;
}
#by-occasion .occ-links a i {
    float: right;
    font-size: 1.5rem;
    position: relative;
    top: -0.4rem;
}
#by-occasion .box-title {
    background: var(--1);
    color: var(--3);
}
#by-occasion .box-title {
    grid-column-start: 1;
    grid-column-end: 4;
}

#what-to-wear {
    background: white;
    padding: 2rem 2rem 0 2rem;
    display: grid;
}
#what-to-wear ul {
    display: grid;
}
#what-to-wear li a {
    font-size: 0.8rem;
    color: var(--1);
    font-family: var(--p);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0 0.25rem 0;
}
#what-to-wear li a:hover {
    background: rgba(173, 128, 0, 0.1);
}
#what-to-wear a.btn {
    align-self: bottom;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: -2rem;
    height: 2rem;
}

/* Footer */
footer {
    margin: auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}
#footer-form.hidden {
    display: none;
}
#footer-success.hidden {
    display: none;
}
#footer-success {
    display: block;
}
#footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    border-top: 8px solid var(--1);
    background-color: var(--3);
}
#visit-us {
    display: grid;
    grid-template-columns: minmax(min-content, max-content) minmax(
            min-content,
            max-content
        );
    background-color: var(--3);
}
#visit-us-text {
    display: grid;
    padding: 2rem;
    align-content: space-between;
}
#visit-us i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
#visit-us #map .btn::after {
    content: "Click to load map";
}
#visit-us #map {
    position: relative;
    margin-right: auto;
}
#visit-us #map .btn {
    position: absolute;
    left: 0;
    top: 45%;
    border-radius: 0;
    padding: 1rem;
    width: 100%;
    text-align: center;
}
#visit-us #map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#get-in-touch {
    padding: 2rem 3rem 2rem 2rem;
    display: grid;
    align-content: space-between;
    background: var(--3);
}
#get-in-touch form {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-auto-rows: 2.5rem;
    grid-gap: 0.5rem;
    grid-template-areas:
        ". gitmess"
        ". gitmess"
        ". gitbtn";
}
#get-in-touch input,
#get-in-touch textarea {
    padding: 0.5rem;
}
#get-in-touch textarea {
    grid-area: gitmess;
}
#get-in-touch button {
    grid-area: gitbtn;
}
#footer-bottom {
    display: grid;
    grid-template-columns: 3fr 1fr;
}
#footer-links {
    background: var(--1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
    grid-gap: 2rem;
}
#footer-links h4 {
    color: var(--3);
}
#footer-links .arrow-links a {
    font-family: var(--p);
    color: rgba(255, 248, 247, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 248, 247, 0.2);
    display: block;
    padding: 0.5rem;
}
#footer-links .arrow-links a:hover {
    background: rgba(0, 0, 0, 0.2);
}
#members-login {
    text-align: center;
    width: 100%;
    background: #282925;
    display: grid;
    padding: 2rem;
}
#members-login a {
    height: 2.5rem;
    line-height: 1.5rem;
}

#livechat {
    width: 300px;
    background: white;
    position: fixed;
    right: 0;
    bottom: 0;
    transform: translateX(70px);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.2s ease;
}
#cart,
#nav-toggle {
    opacity: 1;
    transition: all 0.2s ease;
}
#livechat-header {
    background-color: var(--1);
    color: white;
    height: 2.3rem;
    overflow: hidden;
    justify-content: space-between;
}
#livechat-header h3 {
    font-weight: 100;
    font-size: 1.2rem;
    order: 2;
    padding: 0.6rem 0 0 0;
    text-align: left;
}
#livechat-header a {
    color: var(--4);
    text-align: right;
    margin-right: auto;
    z-index: 999;
    order: 1;
    display: grid;
    grid-template-columns: 1fr 3fr;
}
#livechat-header i {
    text-align: right;
}
#livechat-content {
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
        "chatuser chatuser"
        "chatimg chatmessage";
    grid-column-gap: 1rem;
    grid-row-gap: 0.5rem;
    height: 0;
    display: grid;
    transition: height 0.5s ease, padding 1s ease;
}
#livechat-content img {
    border-radius: 100%;
    grid-area: chatimg;
    width: 3.5rem;
}
#livechat-username {
    grid-area: chatuser;
    font-family: var(--ui);
    font-size: 0.9rem;
}
#livechat-message {
    grid-area: chatmessage;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 1rem;
    font-size: 0.9rem;
}
#livechat-reply {
    display: grid;
    grid-template-columns: 3fr 1fr;
    height: 0;
    transition: all 0.5s ease;
}
#livechat-reply-message {
    line-height: 1rem;
    padding-top: 0.5rem;
}
#livechat-reply textarea {
    padding-left: 0.5rem;
    resize: none;
}
#chat-toggle::before {
    content: "\f2b7";
    font-family: "Ionicons";
    text-align: left;
    padding: 0.5rem 0 0 1rem;
    background: rgba(0, 0, 0, 0.2);
    width: 2rem;
}
#livechat.show-chat #chat-toggle::before {
    content: "\f406";
    font-family: "Ionicons";
}
#livechat.show-chat {
    transform: translateY(0);
}
#livechat.show-chat #livechat-content {
    height: 12rem;
    padding: 1rem 1rem 5rem 1rem;
}
#livechat.show-chat #livechat-reply {
    height: 5rem;
}
#cart.scrolling,
#nav-toggle.scrolling,
#livechat.scrolling {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
#livechat:not(.scrolling) {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.top-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.top-bar .btn {
    float: right;
    margin-left: 0.5rem;
}
.item {
    display: grid;
    grid-template-columns: 1fr 4fr;
    overflow: hidden;
    margin-top: 2rem;
}
.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-content {
    padding: 2rem;
}
.item-top {
    display: grid;
    grid-template-columns: max-content 4fr 1fr;
    grid-gap: 1rem;
    align-content: center;
}
.item-top hr {
    margin-top: 0.8rem;
}
.item-top .price {
    margin-top: 0.5rem;
}
.item-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.item-traits {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 3rem;
}
.item-traits li {
    position: relative;
}
/*
.item-traits li:nth-child(2)::before,
.item-traits li:nth-child(3)::before{
    border-left: 1px solid rgba(255,248,247,0.47);
    display: block;
    content: "";
    position: absolute;
    left: -1.5rem;
    bottom: -2rem;
    height: 5rem;
}*/
hr {
    border-color: rgba(255, 248, 247, 0.47);
    border-width: 0.5px;
}
.item-buttons {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: flex-end;
    grid-gap: 0.5rem;
}
.p-1 {
    padding: 0.5rem 1rem;
}
.p-2 {
    padding: 1rem 2rem;
}
.mt-1 {
    margin-top: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}
.mt-3 {
    margin-top: 3rem;
}
.mt-4 {
    margin-top: 4rem;
}
.mt-5 {
    margin-top: 5rem;
}
body#history h1.small {
    font-size: 170%;
}
body#history h1:not(.small) {
    font-size: 500%;
}
body#history h2.small {
    font-size: 125%;
}
body#history h2:not(.small) {
    font-size: 300%;
}
.story-title {
    text-align: center;
    margin-bottom: 7rem;
    border-bottom: 1px solid rgba(255, 248, 247, 0.47);
}
.story-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 6rem;
    margin-bottom: 5rem;
}
.story-item-left {
}
.story-item-right {
    text-align: right;
}
.story-item-left img {
    margin-left: auto;
}
.story-item-right img {
    order: 2;
}
.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    height: 15rem;
    width: 15rem;
}
.story-item-right .story-item-text {
    justify-self: flex-end;
}
.story-item-text {
    max-width: 20rem;
    padding-bottom: 2rem;
}
.story-item-text {
    border-bottom: 1px solid rgba(255, 248, 247, 0.47);
}
.story-item-text .qoute {
    font-size: 1rem;
    line-height: 2rem;
    font-weight: normal;
    text-decoration: none;
    margin-top: 2rem;
}
.story-item-right .qoute::before {
    right: -4rem;
    left: auto;
}

.customizer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 3rem;
}

.title-line {
    display: grid;
    grid-template-columns: min-content auto;
    grid-gap: 1rem;
    margin-bottom: 2rem;
}
.title-line hr {
    position: relative;
    top: 0.5rem;
}
.customizer-img {
    width: 20rem;
    height: auto;
    object-fit: cover;
    margin-bottom: 2rem;
}
.customizer-traits li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 248, 247, 0.47);
}
.qoute-line {
    display: grid;
    grid-template-columns: min-content auto;
    grid-gap: 1rem;
    margin-top: -1.5rem;
}
.qoute-line hr {
    position: relative;
    top: 2.5rem;
}
.description {
    display: grid;
    grid-template-columns: max-content auto;
    justify-content: space-between;
    padding-right: 2rem;
    margin-bottom: 2rem;
    margin-top: -1rem;
}
.description p {
    line-height: 1.5rem;
    max-width: 30rem;
    margin-bottom: 2rem;
}
.sizing-title {
    display: grid;
    grid-template-columns: max-content auto max-content;
    grid-gap: 1rem;
}
.sizing-title hr {
    position: relative;
    top: 0.5rem;
}
.sizing-title .btn {
    position: relative;
    top: -0.5rem;
}
.sizing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 2rem;
    margin-top: 2rem;
}
.sizing img {
    position: relative;
    top: -2rem;
}
.sizing select {
    position: relative;
    top: -1rem;
}
.sizing img:nth-last-of-type(2) {
    margin-left: auto;
}
.materials {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1rem;
}
.materials img {
    width: 100%;
    transform-origin: center;
    transition: 0.2s ease;
    position: relative;
    border-radius: 0.5em;
}
.materials img:hover {
    box-shadow: 0px 0px 15px rgba(173, 128, 0, 0.7);
    cursor: pointer;
    transform: scale(1.1);
}
.bottom-nav {
    grid-column-start: 1;
    grid-column-end: 3;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1rem;
}
.bottom-nav a {
    height: 2.3rem;
}
.btn img.icon {
    width: 1rem;
    height: 1rem;
    margin-bottom: -0.3rem;
}
.accessories {
    display: grid;
    grid-template-columns: min-content auto;
    margin: 3rem 0;
    grid-gap: 3rem;
    border-bottom: 1px solid rgba(255, 248, 247, 0.47);
    padding-bottom: 3rem;
}
.accessories div:nth-of-type(1) {
    display: grid;
    align-content: space-between;
}
.accessories p {
    line-height: 1.6rem;
}
.accessories-img {
    display: grid;
    grid-template-columns: max-content 1fr 1fr 1fr max-content;
    grid-gap: 2rem;
}
.accessories-img a {
    font-size: 2rem;
    position: relative;
    top: 2.5rem;
    color: var(--4);
}
.accessories-img img {
    width: 100%;
    border-radius: 0.5rem;
}

.cart-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 4rem;
}
.cart-info h2 {
    margin-bottom: 1rem;
}
.cart-info select {
    margin-bottom: 2rem;
}
.cart-info input.grey {
    background: #777777;
    border-radius: 0.2rem;
    padding: 0.5rem;
}
.shipping {
    display: grid;
}
.total ul {
    padding-top: 1rem;
}
.total li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    padding-bottom: 0.2rem;
    margin-top: 1rem;
    border-bottom: 1px solid rgba(255, 248, 247, 0.47);
}
.total li:last-of-type {
    border-bottom: 4px double rgba(255, 248, 247, 0.47);
}
.total li span:nth-of-type(2) {
    text-align: right;
}
.finish {
    display: grid;
    grid-gap: 1rem;
    align-content: space-between;
}
.finish div {
    display: grid;
    grid-gap: 0.7rem;
}
.finish a.btn {
    text-align: center;
    width: 100%;
    display: block;
    padding: 1rem;
}
.send-hidden {
    height: 0;
    opacity: 0;
    pointer-events: none;
}
.item-img {
    height: 10em;
    background: white;
}
#visit-us #map {
    margin: 0;
}

/* RESPONSIVENESS
__________________________________________________ */

/* OTHER
__________________________________________________ */

/* Turn off hover on touch devices */
@media (hover: none) {
}
@media (pointer: coarse) {
}

/* BROWSER SPECIFIC FIXES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Firefox - (any version)*/
@-moz-document url-prefix() {
}

/* Chrome & Safari - (any version) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
}

/* Microsoft Edge */
@supports (-ms-ime-align: auto) {
}
