/*
 Theme Name:   Another Graphic 2026
 Theme URI:    https://www.anothergraphic.org/
 Description:  Another Graphic Theme 2026
 Author:       Studio Studio
 Author URI:   https://www.studiostudio.be/
 Template:     blankslate
 Version:      1.0.0
 Text Domain:  anothergraphic
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	font-family: Monotesk, monospace;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: 'Monotesk';
    src: url('https://anothergraphic.org/wp-content/uploads/Fonts/MONOTESK-Regular.woff2') format('woff2'),
         url('https://anothergraphic.org/wp-content/uploads/Fonts/MONOTESK-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

*, *::before, *::after {
    font-family: Monotesk, monospace;
    font-weight: normal;
    box-sizing: border-box;
}

[class^="xoo-cp-icon-"],
[class*=" xoo-cp-icon-"],
[class*="xoo-cp-icon-"],
.xoo-cp-close,
[class^="xoo-cp-icon-"]::before,
[class*="xoo-cp-icon-"]::before,
.xoo-cp-close::before {
    font-family: 'added-to-cart-popup-woocommerce' !important;
    font: normal normal normal 14px/1 'added-to-cart-popup-woocommerce' !important;
    speak: none;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #f0f0f0;
    line-height: 1.5;
    color: #000000;
    font-size: 120%;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #f0f0f0;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 0.75px solid #000;
}

#primary-nav {
    grid-column: 3 / 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#site-brand {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    container-type: inline-size;
}

#site-brand,
#mobile-menu-toggle {
    transition: transform 0.25s ease, opacity 0.25s ease, margin 0.25s ease, max-height 0.25s ease;
}

/* Search page — empty state: centered */
#search-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: #0000d2;
    color: #fff;
    box-sizing: border-box;
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
}

/* Search page — with results: fixed bar */
body.search-active #search-header {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 9998;
    min-height: 0;
    border-bottom: 0.75px solid #000;
}

#search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

#search-form label {
    white-space: nowrap;
}

#search-form input {
    font-family: inherit;
    font-size: inherit;
    border: 0.75px solid #fff;
    padding: 2px 5px;
    background: transparent;
    outline: none;
    color: #fff;
    width: 400px;
}

#search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-form button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: 0.75px solid #fff;
    padding: 2px 10px;
    cursor: pointer;
    color: #fff;
}

#search-form button:hover {
    background: #fff;
    color: #0000d2;
}

#search-reset {
    color: #fff;
    text-decoration: none;
    border: 0.75px solid #fff;
    padding: 2px 10px;
}

#search-reset:hover {
    background: #fff;
    color: #0000d2;
}

#search-count {
    font-size: 0.75em;
}

#no-results {
    padding: 15px;
}

#search-loading {
    display: none;
    text-align: center;
    padding: 30px 15px;
    color: #0000d2;
}

#scroll-sentinel {
    text-align: center;
}

#scroll-loading {
    display: none;
    color: #fff;
    background: #0000d2;
    padding: 30px 15px;
    font-size: 1.2em;
}

#scroll-sentinel.loading #scroll-loading {
    display: block;
}

#posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Google Ads in grid */
.google-ad {
    min-width: 0;
    overflow: hidden;
    background: #000;
}

.google-ad h2 {
    font-size: 0.9em;
    border-top: 0.75px solid black;
    border-bottom: 0.75px solid black;
    background-color: #c8c8c8;
    margin: 0;
    padding: 5px 0;
}

.google-ad h2::before {
    content: '• ';
}

.ad-slot {
    background: #000;
    min-height: 100px;
}

body.list-view .google-ad {
    display: none;
}
.google-ad {
    min-width: 0;
    overflow: hidden;
    background: #000;
}

.google-ad h2 {
    font-size: 0.9em;
    border-top: 0.75px solid black;
    border-bottom: 0.75px solid black;
    background-color: #c8c8c8;
    margin: 0;
    padding: 5px 0;
}

.google-ad h2::before {
    content: '• ';
}

.ad-slot {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.ad-slot ins {
    background: transparent !important;
}

body.list-view .google-ad {
    display: none;
}

#posts-grid article {
    min-width: 0;
    overflow: hidden;
}

body.list-view #posts-grid article {
    overflow: visible;
}

#posts-grid article a {
    display: block;
    text-decoration: none;
    color: inherit;
}

#posts-grid article a:hover h2 {
    color: #0000d2;
}

.grid-thumb {
    display: block;
}

.grid-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

#posts-grid article h2 {
    font-size: 0.9em;
    border-top: 0.75px solid black;
    border-bottom: 0.75px solid black;
    background-color: #c8c8c8;
    margin: 0;
    padding: 5px 0;
}

#posts-grid article h2::before {
    content: '• ';
}

#primary-nav a,
#primary-nav .nav-item {
    text-decoration: none;
    color: inherit;
}

#primary-nav a:hover {
    color: #0000d2;
}

#primary-nav li {
    list-style: none;
    display: inline;
}

.cart-count,
.view-active,
#primary-nav .current-menu-item a,
#primary-nav .current-menu-ancestor a,
#primary-nav .current-menu-parent a {
    color: #0000d2 !important;
}

#site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #f0f0f0;
    border-top: 0.75px solid #000;
    padding: 15px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.admin-bar #footer {
    bottom: 32px;
}

.admin-bar #header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #footer {
        bottom: 46px;
    }
    .admin-bar #header {
        top: 46px;
    }
}

#footer-signup {
    grid-column: 1 / 4;
}

#footer-signup .mc4wp-form {
    width: 100%;
}

#footer-signup .mc4wp-form-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#footer-signup label {
    white-space: nowrap;
}

#footer-signup input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    flex: 1;
    font-family: inherit;
    font-size: inherit;
    border: 0.75px solid #000;
    padding: 2px 5px;
    background: transparent;
    outline: none;
}

#footer-signup button,
#footer-signup input[type="submit"] {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: 0.75px solid #000;
    padding: 2px 10px;
    cursor: pointer;
}

#footer-signup button:hover,
#footer-signup input[type="submit"]:hover {
    color: #0000d2;
    border-color: #0000d2;
}

#footer-signup .mc4wp-response {
    margin-top: 8px;
}

#footer-signup .mc4wp-response p {
    margin: 0;
}

#footer-social {
    grid-column: 5 / 9;
    display: flex;
    justify-content: space-between;
}

#footer-social a {
    text-decoration: none;
    color: #000000;
}

#footer-social a:hover {
    color: #0000d2;
}

#footer-social a:hover .meta-arrow-diagonal {
    animation: arrow-bounce-diagonal 0.3s ease-out 0s infinite alternate;
}

#site-logo {
    display: block;
    width: 100%;
    overflow: hidden;
}

#site-baseline {
    font-size: 2.78cqw;
    white-space: nowrap;
}

#view-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

#view-toggle:hover {
    color: #0000d2;
}

#list-toolbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9998;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
}

body.list-view #list-toolbar {
    display: flex;
    border-bottom: 0.75px solid #000;
    background: #c8c8c8;
    padding: 0 15px;
}

.sort-btn {
    text-align: left;
    background: #c8c8c8;
    border: none;
    font-family: inherit;
    font-size: 0.9em;
    color: inherit;
    cursor: pointer;
    padding: 5px 0;
    box-sizing: border-box;
}

.sort-btn[data-sort="title"] {
    width: 25%;
    flex-shrink: 0;
}

.sort-btn[data-sort="year"] {
    flex: 0.25;
}

.sort-btn[data-sort="medium"] {
    flex: 0.75;
}

.sort-btn[data-sort="country"] {
    flex: 0.5;
}

.sort-placeholder {
    flex: 1;
    cursor: default;
}

.sort-btn:hover:not(.sort-placeholder) {
    color: #0000d2;
}

.sort-btn .sort-asc,
.sort-btn .sort-desc {
    color: #000;
}

.sort-btn .sort-desc {
    margin-left: 4px;
}

.sort-btn.sorted-asc .sort-asc,
.sort-btn.sorted-desc .sort-desc {
    color: #0000d2;
}

/* List meta - hidden in grid view */
.list-meta {
    display: none;
}

body.list-view #posts-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 15px;
}

body.list-view .grid-thumb {
    display: none;
}

body.list-view .list-thumb {
    flex: 1;
}

body.list-view .list-thumb img {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 10;
    max-height: 500px;
    width: auto;
    height: auto;
}

body.list-view #posts-grid article:hover .list-thumb img {
    display: block;
}

body.list-view #posts-grid article h2 {
    border-top: none;
    border-bottom: none;
    background-color: transparent;
    flex-shrink: 0;
    width: 25%;
}

body.list-view #posts-grid article h2::before {
    content: none;
}

body.list-view #posts-grid article a {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

body.list-view #posts-grid article {
    border-bottom: 0.75px solid #000;
    position: relative;
}

body.list-view #posts-grid article:hover {
    background-color: #c8c8c8;
}

body.list-view #posts-grid article:hover a {
    color: #0000d2;
}

body.list-view #posts-grid article:first-child {
    border-top: none;
}

body.list-view .list-meta {
    display: flex;
    flex: 1;
    align-items: center;
}

body.list-view .list-year {
    flex: 0.25;
}

body.list-view .list-medium {
    flex: 0.75;
}

body.list-view .list-country {
    flex: 0.5;
}

body.list-view .list-colors {
    display: flex;
    flex: 1;
}

body.list-view .list-color-item {
    flex: 1;
}

.list-color-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.list-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 0.75px solid #000;
    flex-shrink: 0;
}

/* Single post */
body.single-post {
    overflow: hidden;
}

#post-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px;
    box-sizing: border-box;
    height: calc(100vh - var(--header-h) - var(--footer-h) - 30px);
}

#post-image {
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#post-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

#post-meta {
    overflow-y: visible;
    display: flex;
    flex-direction: column;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 0.75px solid #000;
    padding: 15px 5px;
}

.meta-row:first-child {
    border-top: 0.75px solid #000;
}

.meta-designer {
    background-color: #c8c8c8;
}

.meta-label {
    font-size: 0.5em;
    text-align: right;
    white-space: nowrap;
    margin-left: 15px;
    flex-shrink: 0;
    margin-top: -5px;
}

.meta-row a.meta-value {
    text-decoration: none;
    color: inherit;
}

.meta-row a.meta-value:hover {
    color: #0000d2;
}

a.meta-link {
    text-decoration: none;
    color: inherit;
}

a.meta-link:hover {
    color: #0000d2;
}

.meta-arrow {
    display: inline-block;
}

a.meta-link:hover .meta-arrow {
    animation: arrow-bounce 0.3s ease-out 0s infinite alternate;
}

a.meta-link:hover .meta-arrow-diagonal {
    animation: arrow-bounce-diagonal 0.3s ease-out 0s infinite alternate;
}

@keyframes arrow-bounce {
    from { transform: translateX(0); }
    to { transform: translateX(5px); }
}

@keyframes arrow-bounce-diagonal {
    from { transform: translate(0, 0); }
    to { transform: translate(3px, -3px); }
}

@keyframes arrow-bounce-left {
    from { transform: translateX(0); }
    to { transform: translateX(-5px); }
}

#post-nav a:hover .meta-arrow-right {
    animation: arrow-bounce 0.3s ease-out 0s infinite alternate;
}

#post-nav a:hover .meta-arrow-left {
    animation: arrow-bounce-left 0.3s ease-out 0s infinite alternate;
}

.color-swatches {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 3px 0;
}

.color-swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
}

.color-swatch:hover {
    color: #0000d2;
}

.swatch-circle {
    display: block;
    width: 45px;
    height: 45px;
    border: 0.75px solid #000;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Post navigation */
#post-nav {
    display: flex;
    justify-content: space-between;
    padding: 0;
    border: none;
    margin-top: auto;
}

#post-nav a {
    text-decoration: none;
    color: #000;
}

#post-nav a:hover {
    color: #0000d2;
}

/* About page */
#about-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
    box-sizing: border-box;
}

.about-section {
    border-top: 0.75px solid #000;
    border-bottom: 0.75px solid #000;
}

.about-header {
    font-size: 0.5em;
    text-align: right;
    background-color: #c8c8c8;
    padding: 5px 5px 15px;
    border-bottom: 0.75px solid #000;
}

.about-content {
    padding: 15px 5px;
}

.about-content a {
    color: #0000d2;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.bmc-btn {
    border-radius: 0 !important;
}

.content-link::before {
    content: "↗\00a0";
    display: inline-block;
}

.content-link:hover::before {
    animation: arrow-bounce-diagonal 0.3s ease-out 0s infinite alternate;
}

/* Submit page */
#submit-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
    box-sizing: border-box;
}

.submit-section {
    border-top: 0.75px solid #000;
    border-bottom: 0.75px solid #000;
    margin-bottom: -0.75px;
}

.submit-content {
    padding: 15px 5px;
}

.submit-content p {
    margin-bottom: 10px;
}

.submit-content a {
    color: #0000d2;
    text-decoration: none;
}

.submit-content a:hover {
    text-decoration: underline;
}

.submit-email-link {
    display: block;
    font-size: 1.2em;
    color: #0000d2;
    text-decoration: none;
    border: 0.75px solid #0000d2;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
}

.submit-email-link:hover {
    background: #0000d2;
    color: #fff;
}

/* Guidelines */
.guideline-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.guideline-num {
    color: #0000d2;
    flex-shrink: 0;
}

/* WooCommerce overrides */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #000;
}

.woocommerce .woocommerce-Price-amount {
    color: #0000d2;
}

.woocommerce a,
.woocommerce .price,
.woocommerce .button,
.woocommerce .added_to_cart,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
    color: #0000d2;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover {
    color: #fff;
    background: #0000d2;
}

.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt {
    background: #0000d2;
    color: #fff;
}

.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: #000;
}

.woocommerce-page .woocommerce {
    padding: 15px;
}

.woocommerce-page .entry-title {
    padding: 15px;
}

.woocommerce table.shop_table {
    border: 0.75px solid #000;
    border-radius: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-top: 0.75px solid #000;
}

.woocommerce table.shop_table thead th {
    font-size: 0.5em;
    background: #c8c8c8;
    border-bottom: 0.75px solid #000 !important;
}

.woocommerce table.shop_table thead tr:first-child th,
.woocommerce table.shop_table tbody tr:first-child td {
    border-top: none;
}

.woocommerce table.shop_table .cart-subtotal td,
.woocommerce table.shop_table .cart-subtotal th,
.woocommerce table.shop_table .order-total td,
.woocommerce table.shop_table .order-total th {
    border-top: 0.75px solid #000;
}

.woocommerce .cross-sells,
.woocommerce .cart-collaterals .cross-sells ul.products,
.woocommerce-page .cart-collaterals .cross-sells ul.products {
    padding: 0;
}

.woocommerce .coupon .input-text {
    width: 300px !important;
}

input[type="number"] {
    border: 0.75px solid #000;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    padding: 2px 5px;
    outline: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce #payment,
.woocommerce .woocommerce-input-wrapper input,
.woocommerce .select2-container .select2-selection--single,
.woocommerce #order_review,
.woocommerce .woocommerce-checkout-review-order-table {
    border-radius: 0 !important;
}

.woocommerce-checkout form.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 15px;
}

.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / -1;
}

.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout #payment {
    margin-top: auto;
}

.woocommerce-checkout #payment::before {
    content: none !important;
}

.woocommerce-checkout #payment {
    padding: 15px !important;
}

.woocommerce-privacy-policy-text {
    font-size: 0.5em;
}

.woocommerce-message,
.woocommerce-info {
    border-top: none;
}

.woocommerce-info::before {
    content: none !important;
}

.woocommerce-checkout .woocommerce-NoticesGroup,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout ul.woocommerce-error,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-error {
    display: none !important;
}

/* Single product */
#product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px;
    box-sizing: border-box;
    height: calc(100vh - var(--header-h) - var(--footer-h) - 30px);
}

#product-gallery {
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.5em;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

#product-gallery:hover .gallery-nav {
    opacity: 1;
}

.gallery-prev {
    left: 0;
    text-align: left;
    padding-left: 15px;
}

.gallery-next {
    right: 0;
    text-align: right;
    padding-right: 15px;
}

.gallery-nav:hover {
    color: #0000d2;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #fff;
    font-size: 0.75em;
}

#product-meta {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#product-meta .meta-row {
    border-top: none;
}

#product-meta .meta-row:first-child {
    border-top: 0.75px solid #000;
}

.product-price {
    color: #0000d2;
    font-size: 1.2em;
}

.product-price-row {
    border-bottom: none !important;
}

.woocommerce-variation-availability,
.stock {
    display: none !important;
}

.product-cta .single_add_to_cart_button,
.product-cta .button {
    background: #0000d2 !important;
    color: #fff !important;
    border: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    cursor: pointer;
    padding: 10px 15px !important;
}

.product-cta .single_add_to_cart_button:hover,
.product-cta .button:hover {
    background: #000 !important;
}

.product-cta .quantity input {
    font-family: inherit;
    font-size: inherit;
    border: 0.75px solid #000;
    padding: 2px 5px;
    width: 50px;
    text-align: center;
    outline: none;
    margin-right: 10px;
    border-radius: 0;
}

.product-category-row {
    display: block !important;
}

.product-category-row .meta-value {
    display: block;
    width: 100%;
}

.product-category-row .meta-label {
    display: block;
    text-align: right;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 5px;
}

.product-related {
    margin-top: auto;
}

.product-related {
    display: block !important;
}

.product-related .meta-value {
    display: block;
    width: 100%;
}

.product-related .meta-label {
    display: block;
    text-align: right;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 10px;
}

.related-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.related-item {
    text-decoration: none;
    color: inherit;
}

.related-item img {
    width: 100%;
    height: auto;
    display: block;
}

.related-title {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
    color: #000;
}

.related-price {
    display: block;
    color: #0000d2;
    font-size: 0.9em;
}

.related-item a {
    text-decoration: none;
    color: inherit;
}

.related-item:hover .related-title {
    color: #0000d2;
}

.related-add-to-cart {
    display: block;
    background: #0000d2;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    font-size: 0.9em;
    margin-top: 5px;
}

.related-add-to-cart:hover {
    background: #000;
}

#product-meta .meta-value p:last-child {
    margin-bottom: 0;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button,
.product-cta .single_add_to_cart_button,
.related-add-to-cart {
    border-radius: 0 !important;
}

/* Mobile menu - hidden on desktop */
#mobile-menu-toggle {
    display: none;
}

#mobile-menu {
    display: none;
}

/* Tablet */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    #header {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #site-brand {
        grid-column: 1;
    }

    #primary-nav {
        grid-column: 2 / 4;
        font-size: 0.8em;
    }

    #posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #footer {
        grid-template-columns: 1fr 1fr;
        font-size: 0.55em;
    }

    #footer-signup {
        grid-column: 1;
    }

    #footer-social {
        grid-column: 2;
    }

    #footer-signup input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
        width: auto;
        min-width: 0;
        flex: 1;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    #header {
        grid-template-columns: 1fr;
    }

    #site-brand {
        grid-column: 1;
    }

    #primary-nav {
        display: none;
    }

    #mobile-menu-toggle {
        display: block;
        grid-column: 1;
        background: none;
        border: none;
        font-family: inherit;
        font-size: inherit;
        color: inherit;
        cursor: pointer;
        padding: 0;
        text-align: center;
        text-transform: uppercase;
    }

    body.mobile-brand-hidden #site-brand {
        max-height: 0;
        margin: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(calc(-100% - 15px));
        pointer-events: none;
    }

    body.mobile-brand-hidden #header {
        gap: 0;
    }

    #mobile-menu-toggle:hover {
        color: #0000d2;
    }

    #mobile-menu.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        background: #0000d2;
        color: #fff;
        overflow-y: auto;
    }

    #mobile-menu-content {
        padding: 15px;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100%;
        box-sizing: border-box;
        position: relative;
    }

    #mobile-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-family: inherit;
        font-size: inherit;
        color: #fff;
        cursor: pointer;
        padding: 0;
        text-transform: uppercase;
    }

    #mobile-menu-close:hover {
        opacity: 0.7;
    }

    #mobile-nav {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }

    #mobile-nav a,
    #mobile-nav .mobile-nav-row,
    #mobile-nav li {
        display: block;
        text-decoration: none;
        color: #fff;
        padding: 10px 0;
        list-style: none;
    }

    #mobile-nav .mobile-nav-row a {
        padding: 0;
        border: none;
        display: inline;
    }

    #mobile-nav a:hover,
    #mobile-nav li a:hover {
        opacity: 0.7;
    }

    #mobile-nav li a {
        color: #fff;
        padding: 0;
        border: none;
    }

    #mobile-social {
        margin-top: auto;
        padding-top: 15px;
        display: flex;
        flex-wrap: wrap;
    }

    #mobile-social a {
        text-decoration: none;
        color: #fff;
    }

    #mobile-social a:hover {
        opacity: 0.7;
    }

    #mobile-social a:not(:last-child)::after {
        content: ',\00a0';
    }

    #mobile-nav .cart-count {
        color: #fff !important;
    }

    #footer-social {
        display: none;
    }

    #footer {
        grid-template-columns: 1fr;
    }

    #footer-signup {
        grid-column: 1;
        font-size: 0.7em;
    }

    #footer-signup .mc4wp-form-fields {
        flex-wrap: wrap;
    }

    #footer-signup input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
        font-size: inherit;
        flex: 1;
        min-width: 0;
        width: auto;
    }

    #footer-signup button,
    #footer-signup input[type="submit"] {
        font-size: inherit;
        flex-shrink: 0;
    }

    #posts-grid {
        grid-template-columns: 1fr;
    }

    body.list-view #posts-grid article a {
        font-size: 0.8em;
    }

    body.list-view #posts-grid article a {
        font-size: 0.8em;
    }

    body.list-view #posts-grid article h2 {
        width: 50%;
        flex: none;
    }

    body.list-view .list-medium,
    body.list-view .list-country,
    body.list-view .list-thumb {
        display: none !important;
    }

    body.list-view #posts-grid article h2 {
        width: 60%;
    }

    body.list-view .list-meta {
        flex: 0 0 40%;
    }

    body.list-view .list-year {
        flex: 0 0 30%;
    }

    body.list-view .list-colors {
        flex: 0 0 30%;
        margin-left: auto;
        justify-content: space-between;
    }

    body.list-view .list-color-item {
        font-size: 0;
        flex: 0;
    }

    body.list-view .list-swatch {
        width: 15px;
        height: 15px;
    }

    body.list-view .sort-btn[data-sort="medium"],
    body.list-view .sort-btn[data-sort="country"] {
        display: none;
    }

    body.list-view .sort-placeholder:first-of-type {
        display: none;
    }

    body.list-view #list-toolbar {
        font-size: 0.8em;
    }

    body.list-view .sort-btn[data-sort="title"] {
        flex: 0 0 60%;
    }

    body.list-view .sort-btn[data-sort="year"] {
        flex: 0 0 20%;
    }

    body.list-view .sort-placeholder:last-of-type {
        flex: 0 0 20%;
        text-align: right;
        margin-left: auto;
    }

    .about-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* About mobile */
    #about-page {
        grid-template-columns: 1fr;
    }

    #about-page,
    #submit-page {
        padding: 10px;
        font-size: 0.8em;
    }

    .about-content,
    .submit-content {
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-content img,
    .about-content iframe,
    .about-content .bmc-btn-container,
    .about-content .bmc-btn {
        max-width: 100% !important;
    }

    /* Submit mobile */
    #submit-page {
        grid-template-columns: 1fr;
    }

    /* Single post mobile */
    body.single-post {
        overflow: auto;
    }

    #post-single {
        grid-template-columns: 1fr;
        height: auto;
        margin: 10px;
    }

    #post-image {
        aspect-ratio: 1 / 1;
    }

    #post-meta {
        overflow-y: visible;
    }

    .meta-row {
        padding: 10px 5px;
    }

    .swatch-circle {
        width: 30px;
        height: 30px;
    }

    #post-nav a {
        font-size: 0.8em;
    }

    /* Shop mobile */
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        padding: 10px;
    }

    /* Product page mobile */
    #product-single {
        grid-template-columns: 1fr;
        height: auto;
        margin: 10px;
    }

    #product-gallery {
        min-height: 300px;
    }

    #product-meta {
        overflow-y: visible;
    }

    #product-meta .meta-row {
        font-size: 0.85em;
    }

    .related-products {
        grid-template-columns: 1fr 1fr;
    }

    /* Cart mobile */
    .woocommerce-page .woocommerce {
        padding: 10px;
        font-size: 0.85em;
    }

    .woocommerce-page .entry-title {
        padding: 10px;
    }

    .woocommerce .coupon .input-text {
        width: 150px !important;
    }

    .woocommerce table.shop_table {
        font-size: 0.85em;
    }

    .woocommerce table.shop_table img {
        max-width: 60px;
    }

    /* Checkout mobile */
    .woocommerce-checkout form.woocommerce-checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #customer_details {
        grid-column: 1;
        grid-row: auto;
    }

    .woocommerce-checkout #order_review_heading {
        grid-column: 1;
        grid-row: auto;
    }

    .woocommerce-checkout #order_review {
        grid-column: 1;
        grid-row: auto;
    }

    /* Search mobile */
    #search-header {
        flex-direction: column;
        gap: 10px;
    }

    #search-form {
        flex-wrap: wrap;
        width: 100%;
    }

    #search-form input {
        width: 100%;
        flex: 1;
        min-width: 0;
    }

    #search-count {
        text-align: center;
    }
}
}
