/*General layout*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
}

h1 {
    font-size: 22px;
}

.button-default {
    color: white;
    background-color: black;
    padding: 16px 24px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.button-default:hover {
    background-color: #427AE0;
}

.button-default:active {
    background-color: #1362F2;
}

.button-on-image {
    color: white;
    background-color: black;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-on-image img {
    color: white;
    stroke-color: white;
    fill: white;
}

.button-on-image:hover {
    background-color: #427AE0;
}

.button-on-image:active {
    background-color: #1362F2;
}

.button-text {
    color: black;
    border: none;
    background-color: transparent;
    padding: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
    cursor: pointer;
    width: fit-content;
}

.button-text:hover {
    color: #427AE0;
}

.button-text:active {
    color: #1362F2;
}

.button-large {
    color: white;
    background-color: black;
    padding: 24px 32px;
    border-radius: 16px;
    border: none;
    font-size: 22px;
    line-height: 1.4;
    cursor: pointer;
}

.button-large:hover {
    background-color: #427AE0;
    fill: #427AE0;
}

.button-large:active {
    background-color: #1362F2;
}

.close {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}


hr {
    margin-left: 16px;
    margin-right: 16px;
    height: 2px;
    background-color: #d9d9d9;
    border: none;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 24px 24px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 28px;
    line-height: 1.4;
    cursor: pointer;
}

main {
    flex: 1;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.filter-bar p {
    padding: 8px 24px;
}

.main-content p {
    padding: 8px 24px;
}

.product-grid {
    padding: 24px 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    ;
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        ;
    }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 8px;
    right: 8px;
}

.floating-icon-button {
    color: white;
    background-color: black;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-icon-button:hover {
    background-color: #427AE0;
}

.floating-icon-button:active {
    background-color: #1362F2;
}

.status-reserved,
.status-archived {
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 16px;
    max-width: fit-content;
    position: absolute;
    top: 16px;
    right: 16px;
}

.status-reserved {
    background-color: #F5812E;
}

.status-archived {
    background-color: #F3471C;
}

.product-image {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
}

.product-price {
    font-size: 20px;
    font-weight: 500;
}

.show-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0px 64px;
    gap: 16px;
}

footer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 48px 0px;
    background-color: black;
    color: white;
    justify-content: center;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 960px;
    width: 100%;
    padding: 0px 24px;
    margin: 0 auto;
}

.footer-branding p {
    opacity: 0.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
    width: 100%;
    padding: 0px 24px;
    margin: 0 auto;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.footer-links a:hover {
    color: #427AE0;
}

.footer-links a:active {
    color: #1362F2;
}

.icon-small {
    width: 16px;
    aspect-ratio: 1/1;
}

/*modal*/

.overlay {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal {
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    width: 100%;
    width: 400px;
    border-radius: 16px;
    max-width: 80%;
}

.hidden,
.no-products.hidden,
.reserved-notice.hidden,
.archived-notice.hidden,
.overlay.hidden,
.modal.hidden,
.cta-box.hidden {
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 500;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: stretch;
    padding: 8px 0px 24px 0px;
}

.pick-up-address p {
    font-size: 20px;
    font-weight: 500;
}


/*Object Detail Page*/

.object-main-section {
    display: flex;
    padding: 32px 0 0;
}

@media screen and (max-width: 600px) {
    .object-main-section {
        flex-direction: column;
        padding: 0;
    }
}

.object-images {
    padding: 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.carousel-image.active {
    border: 3px solid black;
    background-color: black;
    opacity: .8;
}

.main-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    object-fit: cover;
}

.image-carousel {
    padding: 8px 0px;
    display: flex;
    gap: 8px;
}

.carousel-image {
    border-radius: 16px;
    max-width: 15%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.object-info {
    padding: 0 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.object-name-and-price {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.object-name {
    font-size: 22px;
}

.object-price {
    font-size: 24px;
    font-weight: 500;
}

.cta-box {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.reserved-notice,
.archived-notice {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0;
}

.notice-text {
    padding: 24px 32px;
    font-size: 22px;
    border-radius: 16px;
    border: 2px solid black;
    text-align: center;
}

.artist-badge {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    align-items: center;
    cursor: pointer;
}

.artist-image {
    border-radius: 16px;
    max-width: 64px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.artist-badge-info {
    display: flex;
    flex-direction: column;
}

.section-label,
.form-header {
    font-size: 16px;
    line-height: 1.4;
}

.artist-badge-name {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
}

.object-description {
    display: flex;
    flex-direction: column;
    padding: 24px 0 32px;
    gap: 16px;
}

.object-description-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.object-description-text p {
    line-height: 1.6;
}

.object-detail-section {
    display: flex;
    flex-direction: column;
    padding: 32px 16px 48px;
    gap: 32px;
}

.object-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .object-details {
        grid-template-columns: 1fr;
    }
}

.object-detail-item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    gap: 8px;
}

.object-detail-item-value {
    font-size: 20px;
    font-weight: 500;
}

/*Artist Page*/

.artist-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    gap: 32px;
    margin: 0 auto;
}

.artist-nav-links {
    display: flex;
    gap: 16px;
    padding: 0;
}

.artist-nav-links a {
    color: black;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.artist-nav-links a:hover {
    color: #427AE0;
}

.artist-nav-links a:active {
    color: #1362F2;
}

/*Forms*/

form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 24px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    line-height: 1.2;
}

.form-error {
    color: #F3471C;
}

.form-subsection {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.required-fields,
.form-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.optional-fields {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 600px) {

    .optional-fields-profile {
        grid-template-columns: 1fr;
    }

    .optional-fields {
        grid-template-columns: 1fr;
    }

}

.label-and-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

input {
    padding: 16px;
    font-size: 18px;
    border-radius: 8px;
    line-height: 1.2;
    border: 1px solid black;
    width: 100%;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid black;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.2;
    resize: none;
}

.side-by-side-fields {
    display: flex;
    gap: 24px;
}

@media screen and (max-width: 900px) {
    .side-by-side-fields {
        flex-direction: column;
    }
}

select {
    appearance: base-select;
    background-color: transparent;
    padding: 16px 12px 16px 16px;
    font-size: 18px;
    line-height: 1.2;
    border-radius: 8px;
    border: 1px solid black;
    cursor: pointer;
}

select::picker-icon {
    content: url('../assets/icons/chevron-down.svg');
    height: 18px;
}

::placeholder {
    color: #d9d9d9;
}

.actions {
    display: flex;
    padding: 32px 0;
    width: 100%;
    justify-content: space-between;
}

.side-by-side-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media screen and (max-width: 600px) {
    .side-by-side-form-section {
        grid-template-columns: 1fr;
    }
}

.profile-picture-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-picture-preview {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 24px;
    object-fit: cover;
}

.image-and-button-container {
    position: relative;
    height: auto;
}

.profile-floating-buttons {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-image-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.upload-image-element {
    display: flex;
    gap: 16px;
    align-items: center;
}

.image-1-preview,
.image-2-preview,
.image-3-preview,
.image-4-preview {
    width: 64px;
    aspect-ratio: 1/1;
    border-radius: 16px;
    object-fit: cover;
}


/*Customer facing artist info page*/

.artist-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    padding-bottom: 40px;
    gap: 24px;
}

.artist-page-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.artist-info {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .artist-info-section {
        grid-template-columns: 1fr;
    }

    .artist-info {
        padding: 8px;
    }
}


.artist-name-and-location {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.artist-name {
    font-size: 22px;
    font-weight: 500;
}

.artist-modal-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    object-fit: cover;
}

.accepts-custom-order-tag {
    background-color: black;
    color: white;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    max-width: fit-content;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
}

.contact-element {
    display: flex;
    align-items: center;
    gap: 8px;
}

.artist-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px 0;
}

.artist-bio {
    line-height: 1.6;
    padding: 16px 0;
}

.item-not-found {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

.item-not-found p {
    padding: 0;
}