/*
Theme Name:   Tekiner
Theme URI:    https://tekiner.com
Description:  Tekiner kurumsal tema — ürün kataloğu ve içerik yönetimi.
Author:       Hasan AKPINAR
Author URI:   https://tekiner.com
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  tekiner-child
*/

@media (max-width: 1023px) {
    .tekiner-breadcrumb--desktop-only {
        display: none !important;
    }

    .tekiner-kategori-page .category-toolbar .page-stats.tekiner-toolbar-stats-desktop {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .tekiner-header-topbar .contact-link {
        display: none !important;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    line-height: 1.6;
    color: #333;
}
body,
.site,
.entry-content,
p, span, div, a, li, td, th, input, textarea, label {
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.site-title, .entry-title, .urun-title, .urun-card-title, .widget-title {
    line-height: 1.3;
    font-weight: 600;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

#page.site,
.site {
    margin: 0;
    padding: 0;
}

#content.site-content {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.home #content.site-content,
body.tekiner-is-front-page #content.site-content {
    padding: 0 150px;
    padding-top: 0 !important;
}

body.home .tekiner-front-page,
body.tekiner-is-front-page .tekiner-front-page {
    padding-top: 0 !important;
}

.tekiner-yazilar-ust-baslik {
    margin-top: 100px;
    margin-bottom: 0;
    text-align: center;
}
.tekiner-yazilar-ust-baslik-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.tekiner-yazilar-banner {
    margin-top: 80px;
    min-height: 180px;
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 150px 24px 24px;
    box-sizing: border-box;
}
.tekiner-yazilar-banner-inner {
    display: flex;
    align-items: center;
}
.tekiner-yazilar-banner-baslik {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #000;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-transform: none;
    font-variant: normal;
}
@media (max-width: 1200px) {
    .tekiner-yazilar-banner { padding: 24px 48px 24px 24px; }
}
@media (max-width: 768px) {
    .tekiner-yazilar-banner { padding: 20px 24px 20px 20px; min-height: 120px; }
}
@media (max-width: 480px) {
    .tekiner-yazilar-banner { padding: 16px; }
}

.tekiner-front-page .tekiner-blog-list-shortcode {
    margin-top: 0;
}

.tekiner-full-gorsel-arasi {
    margin-left: -150px;
    margin-right: -150px;
    width: calc(100% + 300px);
    margin-top: 80px;
    margin-bottom: 0;
    overflow: hidden;
    height: 650px;
    background: #f0f0f0;
}
.tekiner-full-gorsel-arasi img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tekiner-glb-tanitim .tekiner-about-right--model {
    min-height: 380px;
    display: flex;
    align-items: stretch;
}
.tekiner-glb-tanitim .tekiner-about-model-wrap {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: grab;
}
.tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    --poster-color: #ffffff;
    background: #fff;
    cursor: grab;
}
.tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer:active,
.tekiner-glb-tanitim .tekiner-about-model-wrap:active {
    cursor: grabbing;
}
.tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer::part(default-progress-bar) {
    display: none;
}

.fp-hero.tekiner-front-page-hero {
    position: relative;
    display: block;
    width: calc(100% + 300px);
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    margin-left: -150px;
    margin-right: -150px;
    padding: 0;
    overflow: hidden;
    z-index: 0;
    background: #002741;
}

.fp-hero-video-wrap,
.fp-hero-overlay {
    position: absolute;
    inset: 0;
}

.fp-hero-video-wrap {
    background: #002741;
    overflow: hidden;
}

.fp-hero-video-wrap .fp-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.fp-hero-overlay {
    pointer-events: none;
}

.fp-hero-embed {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fp-hero-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
}

.tekiner-about.tekiner-front-page-about {
    width: 100%;
    max-width: 100%;
    padding: 100px 0 100px;
    background: #fff;
    box-sizing: border-box;
    overflow: visible;
}

.tekiner-about-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    box-sizing: border-box;
}

.tekiner-front-page-about .tekiner-about-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    overflow: visible;
}

.tekiner-glb-tanitim .tekiner-about-inner {
    grid-template-columns: 2fr 3fr;
    height: 600px;
    min-height: 600px;
    align-items: stretch;
}

#tekiner-glb-tanitim .tekiner-about-section-header {
    text-align: left;
}
#tekiner-glb-tanitim .tekiner-about-section-header .tekiner-about-title::before {
    left: 0;
    transform: translateY(-50%);
}

.tekiner-glb-tanitim .tekiner-about-left {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tekiner-glb-tanitim .tekiner-about-left::-webkit-scrollbar {
    display: none;
}
.tekiner-glb-tanitim .tekiner-about-text {
    max-width: none;
}
.tekiner-glb-tanitim .tekiner-about-right--model,
.tekiner-glb-tanitim .tekiner-about-model-wrap {
    min-height: 0;
    height: 100%;
}
.tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer {
    min-height: 0;
    height: 100%;
}

.tekiner-front-page-about .tekiner-about-right--image {
    min-height: 320px;
    display: flex;
    align-items: stretch;
}
.tekiner-front-page-about .tekiner-about-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}
.tekiner-front-page-about .tekiner-about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tekiner-front-page-about .tekiner-about-right--video {
    min-height: 420px;
    display: flex;
    align-items: stretch;
    margin-right: -150px;
}
.tekiner-front-page-about .tekiner-about-video-wrap {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 0;
    overflow: hidden;
    background: #000;
}
.tekiner-front-page-about .tekiner-about-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tekiner-front-page-about .tekiner-about-inner:not(:has(.tekiner-about-right)) .tekiner-about-left {
    max-width: 720px;
}

#tekiner-hakkimizda .tekiner-about-section-header {
    text-align: left;
}
#tekiner-hakkimizda .tekiner-about-section-header .tekiner-about-title {
    text-align: left;
    position: relative;
    color: #002741;
    text-transform: none;
    font-variant: normal;
}
#tekiner-hakkimizda .tekiner-about-section-header .tekiner-about-title::before {
    display: none;
}

#tekiner-glb-tanitim .tekiner-about-label {
    color: #002741;
}
#tekiner-glb-tanitim .tekiner-about-section-header .tekiner-about-title {
    color: #002741;
}

.tekiner-fp-kategoriler {
    padding-top: 48px;
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .tekiner-fp-kategoriler {
        padding-top: 24px;
    }
}
.tekiner-fp-section-title-wrap {
    width: 100%;
    max-width: none;
    margin: 0 0 2rem 0;
    padding: 0;
    box-sizing: border-box;
}
.tekiner-fp-section-title-wrap .tekiner-about-section-header {
    text-align: left;
    margin-bottom: 0;
}
.tekiner-fp-section-title-wrap .tekiner-about-section-header .tekiner-about-title {
    text-align: left;
    position: relative;
    color: #002741;
    text-transform: none;
    font-variant: normal;
}
.tekiner-fp-section-title-wrap .tekiner-about-section-header .tekiner-about-title::before {
    display: none;
}
.tekiner-sicak-urunler-section .tekiner-fp-section-title-wrap {
    margin-bottom: 2.25rem;
}

.tekiner-about-section-header {
    margin-bottom: 28px;
    overflow: hidden;
    text-align: center;
}

.tekiner-about-section-header .tekiner-about-title {
    position: relative;
    text-align: center;
}
.tekiner-about-section-header .tekiner-about-title::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 48px;
    background: url('assets/images/title-brushstroke.svg') no-repeat center center;
    background-size: 100% auto;
    z-index: -1;
    opacity: 0.9;
}

.tekiner-about-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: capitalize;
    color: #002741;
    opacity: 0.85;
    margin-bottom: 8px;
}

.tekiner-about-section-header .tekiner-about-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    text-transform: none;
    font-variant: normal;
}

.tekiner-about-title-reveal {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.01s linear;
}
.tekiner-about--title-visible .tekiner-about-title-reveal {
    animation: tekiner-about-title-write 1.8s ease-out forwards;
}
@keyframes tekiner-about-title-write {
    to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
    .tekiner-about-title-reveal {
        clip-path: inset(0 0 0 0);
    }
    .tekiner-about--title-visible .tekiner-about-title-reveal {
        animation: none;
    }
}

.tekiner-about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    max-width: 720px;
}

.tekiner-about-text p {
    margin: 0 0 1em 0;
}

.tekiner-about-text p:last-child {
    margin-bottom: 0;
}

.tekiner-about-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 32px;
    background: #002741;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
}

.tekiner-about-btn:hover {
    background: #001a2e;
    color: #fff !important;
    transform: translateY(-1px);
}

.tekiner-about-right {
    position: relative;
    min-height: 320px;
}

.tekiner-about-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    aspect-ratio: 3 / 2;
    min-height: 320px;
    max-height: 520px;
}

.tekiner-about-slider-stage {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
}

.tekiner-about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform-origin: 50% 50%;
    transition: opacity 0.35s ease;
}

.tekiner-about-slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    animation: tekiner-about-slide-enter 0.4s ease-out;
}

@keyframes tekiner-about-slide-enter {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tekiner-about-slide--exit {
    z-index: 2;
    pointer-events: none;
    animation: tekiner-about-paper-throw 0.9s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

@keyframes tekiner-about-paper-throw {
    0% {
        transform: scale(1) rotate(0deg) translate(0, 0);
        opacity: 1;
    }
    35% {
        transform: scale(0.5) rotate(120deg) translate(0, 0);
        opacity: 1;
    }
    70% {
        transform: scale(0.22) rotate(320deg) translate(55%, 55%);
        opacity: 0.95;
    }
    100% {
        transform: scale(0.12) rotate(520deg) translate(120%, 120%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tekiner-about-slide--exit {
        animation: tekiner-about-paper-throw-reduced 0.5s ease forwards;
    }
    .tekiner-about-slide--active {
        animation: none;
    }
}

@keyframes tekiner-about-paper-throw-reduced {
    0% { opacity: 1; transform: scale(1) translate(0, 0); }
    100% { opacity: 0; transform: scale(0.3) translate(80%, 80%); }
}

.tekiner-about-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.tekiner-about-slider-prev,
.tekiner-about-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tekiner-about-slider-prev:hover,
.tekiner-about-slider-next:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.tekiner-about-slider-prev:active,
.tekiner-about-slider-next:active {
    transform: translateY(-50%) scale(0.95);
}

.tekiner-about-slider-prev { left: 16px; }
.tekiner-about-slider-next { right: 16px; }

.tekiner-about-slider-prev svg,
.tekiner-about-slider-next svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

@media (max-width: 900px) {
    .tekiner-about.tekiner-front-page-about {
        padding-left: 0;
        padding-right: 0;
        
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .tekiner-front-page-about .tekiner-about-inner {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .tekiner-front-page-about .tekiner-about-left,
    .tekiner-front-page-about .tekiner-about-right {
        width: 100%;
        max-width: 100%;
    }
    .tekiner-front-page-about .tekiner-about-right {
        order: 0;
        min-height: auto;
    }
    .tekiner-front-page-about .tekiner-about-right--video {
        margin-right: 0;
    }
    .tekiner-about-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tekiner-glb-tanitim .tekiner-about-inner {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        gap: 24px;
        align-items: stretch;
    }
    .tekiner-glb-tanitim .tekiner-about-left {
        order: 1;
    }
    .tekiner-glb-tanitim .tekiner-about-right--model {
        order: 2;
    }
    .tekiner-glb-tanitim .tekiner-about-right--model,
    .tekiner-glb-tanitim .tekiner-about-model-wrap {
        height: auto;
        min-height: 280px;
    }
    .tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer {
        min-height: 280px;
        height: 360px;
    }
    
    .tekiner-about-right:not(.tekiner-about-right--model) {
        order: -1;
        min-height: 260px;
    }
    .tekiner-front-page-about .tekiner-about-right--image .tekiner-about-image-wrap,
    .tekiner-front-page-about .tekiner-about-right--video .tekiner-about-video-wrap {
        min-height: 260px;
    }
    .tekiner-front-page-about .tekiner-about-text {
        max-width: none;
    }
    .tekiner-about-slider {
        min-height: 280px;
        max-height: 420px;
    }
}

@media (max-width: 1200px) {
    .tekiner-about.tekiner-front-page-about {
        padding-left: 0;
        padding-right: 0;
    }
    .tekiner-front-page-about .tekiner-about-right--video {
        margin-right: 0;
    }
}
@media (max-width: 768px) {
    .tekiner-front-page-about .tekiner-about-inner {
        gap: 20px;
    }
    .tekiner-front-page-about .tekiner-about-right--video {
        margin-right: 0;
    }
}
@media (max-width: 480px) {
    .tekiner-front-page-about .tekiner-about-right--video {
        margin-right: 0;
    }
}
@media (max-width: 991px) {
    .tekiner-about.tekiner-front-page-about {
        padding-left: 0;
        padding-right: 0;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .tekiner-front-page-about .tekiner-about-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    .tekiner-front-page-about .tekiner-about-left,
    .tekiner-front-page-about .tekiner-about-right,
    .tekiner-front-page-about .tekiner-about-right--video,
    .tekiner-front-page-about .tekiner-about-right--image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .tekiner-front-page-about .tekiner-about-right {
        order: 0 !important;
    }
    .tekiner-front-page-about .tekiner-about-right--video,
    .tekiner-front-page-about .tekiner-about-right--image {
        margin-right: 0 !important;
    }
    
    #tekiner-glb-tanitim .tekiner-about-inner {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 24px !important;
        align-items: stretch !important;
    }
    #tekiner-glb-tanitim .tekiner-about-left {
        order: -10 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    #tekiner-glb-tanitim .tekiner-about-right--model {
        order: 10 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
    }
    #tekiner-glb-tanitim .tekiner-about-model-wrap {
        min-height: 260px !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #tekiner-glb-tanitim .tekiner-about-model-wrap model-viewer {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 260px !important;
        height: min(52vh, 420px) !important;
        box-sizing: border-box !important;
    }
    #tekiner-glb-tanitim.tekiner-glb-tanitim {
        padding-top: 24px;
        padding-bottom: 24px;
        box-sizing: border-box;
        overflow-x: clip;
        width: 100%;
        max-width: 100%;
    }
}

.breadcrumb-list,
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item:not(:last-child)::after {
    font-size: 15px !important;
}

@media (max-width: 768px) {
    .breadcrumb-list,
    .breadcrumb-item,
    .breadcrumb-item a,
    .breadcrumb-item.active,
    .breadcrumb-item:not(:last-child)::after {
        font-size: 14px !important;
    }
}

.urun-kategori-container,
.urun-archive-container,
.urun-detail-container,
.urun-card,
.urun-filters,
.urun-search-wrapper {
}

.urun-kategori-container,
.urun-archive-container,
.urun-detail-container {
    margin-top: 0 !important;
    padding-top: 2rem;
}

.urun-grid,
.urun-card,
.urun-filters {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .urun-kategori-container,
    .urun-archive-container,
    .urun-detail-container {
        padding: 1rem;
        margin-top: 0;
    }
}

@media (max-width: 1200px) {
    body.home #content.site-content,
    body.tekiner-is-front-page #content.site-content {
        padding-left: 48px;
        padding-right: 48px;
    }
    .fp-hero.tekiner-front-page-hero {
        width: calc(100% + 96px);
        margin-left: -48px;
        margin-right: -48px;
    }
}
@media (max-width: 768px) {
    body.home #content.site-content,
    body.tekiner-is-front-page #content.site-content {
        padding-left: 24px;
        padding-right: 24px;
    }
    .fp-hero.tekiner-front-page-hero {
        width: calc(100% + 48px);
        margin-left: -24px;
        margin-right: -24px;
    }
}
@media (max-width: 480px) {
    body.home #content.site-content,
    body.tekiner-is-front-page #content.site-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .fp-hero.tekiner-front-page-hero {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }
}


@media (max-width: 991px) {
    body.home .tekiner-front-page .tekiner-full-gorsel-arasi,
    body.tekiner-is-front-page .tekiner-front-page .tekiner-full-gorsel-arasi {
        margin-top: 24px;
        margin-bottom: 0;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        height: clamp(160px, 42vw, min(48vh, 360px)) !important;
        max-height: min(48vh, 360px) !important;
        background: #f0f0f0;
    }
    body.home .tekiner-front-page .tekiner-full-gorsel-arasi img,
    body.tekiner-is-front-page .tekiner-front-page .tekiner-full-gorsel-arasi img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }
    body.home .tekiner-front-page .tekiner-yazilar-banner,
    body.tekiner-is-front-page .tekiner-front-page .tekiner-yazilar-banner {
        margin-top: 0;
        margin-bottom: 0;
        min-height: 100px;
    }
    body.home .tekiner-front-page .tekiner-fp-section-title-wrap,
    body.tekiner-is-front-page .tekiner-front-page .tekiner-fp-section-title-wrap {
        margin-bottom: 1rem;
    }
}

section.u-backlink.u-clearfix.u-grey-80,
section.u-backlink.u-grey-80 {
    background-color: transparent !important;
    background: none !important;
}
section.u-backlink.u-grey-80::before {
    display: none !important;
}
