/*
Theme Name: TheWowart
Author: TheWowart
Description: TheWowart mağazası için özgün React arayüzü ve WooCommerce teması.
Version: 1.1.10
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: thewowart
*/

footer.store-footer,
.wowart-native-footer > .store-footer {
    border-radius: 0;
}
.store-footer a.footer-discover { border-radius: 4px; }

.wowart-page-links {
    padding: 12px max(24px, calc((100% - 1120px) / 2));
    background: #263b33;
    border-top: 1px solid #53685c;
}
.wowart-page-links ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wowart-page-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #c5d0c2;
    font-size: 11px;
    text-decoration: none;
    text-underline-offset: 3px;
}
.wowart-page-links a:hover {color:#fff; text-decoration:underline;}
.wowart-page-links a:focus-visible {outline-color:#dfad91;}
.wowart-content {
    width: min(100% - 48px, 760px);
    margin: 56px auto;
    overflow-wrap: anywhere;
}
.wowart-content h1 { margin-bottom: 24px; font-size: clamp(30px, 6vw, 52px); }
.wowart-content h2 { margin: 28px 0 10px; font-size: 22px; letter-spacing: -.4px; }
.wowart-content p { margin: 0 0 16px; line-height: 1.7; }
.wowart-content img { max-width: 100%; height: auto; }
.wowart-content a { text-decoration: underline; text-underline-offset: 3px; }
.wowart-content.is-commerce { width: min(100% - 48px, 1120px); }

body.wowart-native-page,
body:has(> #root > .store-footer) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
body.wowart-native-page { padding-bottom: 0; }
.wowart-native-page > main,
body > #root:has(> .store-footer) {
    flex: 1 0 auto;
}
body > #root:has(> .store-footer) {
    display: flex;
    flex-direction: column;
}
body > #root > .store-footer { margin-top: auto; }

.wowart-native-header.store-header nav { display: flex; gap: clamp(12px, 4vw, 26px); margin-left: auto; }
.wowart-native-header nav a,
.wowart-native-footer .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #515154;
    font-size: 12px;
}
.wowart-native-header nav a:hover,
.wowart-native-footer .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.wowart-native-footer {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.wowart-not-found {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 65vh;
    margin: 0 auto;
    padding-block: 32px;
}
.wowart-not-found-illustration {
    display: block;
    width: clamp(104px, 28vw, 136px);
    margin: 0 auto 4px;
}
.wowart-not-found .wowart-error-code {
    color: #a43b19;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.wowart-not-found h1 {
    margin: 0 0 14px;
    letter-spacing: -.05em;
}
.wowart-not-found .wowart-return-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 8px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--store-dark-button-glow, none) var(--store-dark-button-color, #2b2b2e);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}
.wowart-not-found .wowart-return-link:hover { background-color: var(--store-dark-button-hover, #3c3c40); }

@media (max-width: 360px) {
    .wowart-native-header.store-header { gap: 10px; padding-inline: 14px; }
}
