/* Fanus CMS - Frontend Styles */
/* Tema renk değişkenleri admin panelinden gelir; layouts/frontend.php içinde tanımlanır. */

/* Dinamik tema rengi ile renkli gölge (Tailwind build + CSS değişkenleri) */
.shadow-dark-900\/15 {
    --tw-shadow-color: color-mix(in srgb, var(--tw-dark-900) 15%, transparent);
    --tw-shadow: var(--tw-shadow-colored);
}

/* Başlıklar — Metin Rengi ayarı (text-dark-900 ana marka rengine bağlı) */
.display-heading-lg,
.home-about-heading,
.about-page-intro-heading,
.about-section-heading,
.contact-page-heading,
.home-features-heading,
.home-features-title,
.about-page-value-title,
.about-page-team-name,
main .blog-card-title,
main .product-card-title,
.product-detail-title,
.product-detail-content-title,
.cart-page-title,
.cart-page-empty-title,
.cart-summary-title,
.contact-page-form-title,
.contact-page-form-success-title {
    color: var(--theme-text);
}

.site-header-bar {
    background-color: var(--theme-header-bg);
    color: var(--theme-header-text);
}

.site-header-brand-text {
    color: var(--theme-header-text);
}

.site-header-nav-link {
    color: var(--theme-header-text);
}

.site-header-nav-link.is-active,
.site-header-nav-link:hover {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--theme-accent);
    color: #fff;
    border: none;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--theme-accent-hover);
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: 2px;
}

.mobile-menu-toggle svg {
    color: currentColor;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Header scroll effect */
#site-header.scrolled {
    background-color: var(--theme-header-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Site header stack — topbar + navigation */
:root {
    --site-topbar-height: 0px;
    --site-header-accent-bar: 0px;
    --site-nav-height: calc(4rem + 1px);
    --site-header-total: calc(var(--site-nav-height) + var(--site-header-accent-bar));
}

@media (max-width: 1023px) {
    :root {
        --site-header-accent-bar: 4px;
    }

    #site-header::before {
        content: '';
        display: block;
        height: var(--site-header-accent-bar);
        background-color: var(--theme-accent);
    }
}

@media (min-width: 1024px) {
    :root {
        --site-nav-height: calc(5rem + 1px);
    }
}

body.has-site-topbar {
    --site-topbar-height: 0px;
    --site-header-total: calc(var(--site-nav-height) + var(--site-header-accent-bar));
}

@media (min-width: 1024px) {
    body.has-site-topbar {
        --site-topbar-height: calc(2.5rem + 1px);
    }
}

.site-topbar {
    background-color: var(--theme-dark-bg);
}

.site-footer {
    background-color: var(--theme-footer-bg);
    color: var(--theme-footer-text);
}

.site-footer h4 {
    color: var(--theme-footer-text);
}

.site-footer a {
    color: inherit;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: color-mix(in srgb, var(--theme-footer-text) 55%, #ffffff);
}

.site-footer .footer-copyright {
    color: var(--theme-footer-text);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.site-footer .footer-copyright :where(p) {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.footer-bottom-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.footer-policy-link {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--theme-footer-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-policy-link:hover {
    color: color-mix(in srgb, var(--theme-footer-text) 55%, #ffffff);
}

.site-footer .footer-copyright a {
    color: var(--theme-footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-copyright a:hover {
    color: color-mix(in srgb, var(--theme-footer-text) 55%, #ffffff);
}

.site-footer-social {
    color: var(--theme-footer-text);
}

.site-footer-social:hover {
    color: color-mix(in srgb, var(--theme-footer-text) 55%, #ffffff);
}

.site-footer-contact-icon {
    color: var(--theme-footer-text);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.site-footer-column {
    min-width: 0;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem;
        row-gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .site-footer-grid {
        display: flex;
        align-items: flex-start;
        gap: 2.5rem;
        width: 100%;
    }

    .site-footer-column {
        flex: 1 1 0;
        min-width: 0;
    }
}

.site-topbar-link {
    max-width: 11rem;
}

@media (min-width: 640px) {
    .site-topbar-link {
        max-width: none;
    }
}

.home-hero-section {
    margin-top: calc(-1 * var(--site-header-total));
}

/* —— Services marquee (below hero) —— */
.services-marquee {
    position: relative;
    z-index: 2;
    background: var(--marquee-bg, var(--theme-dark-bg));
    color: var(--marquee-text, #ffffff);
    border-bottom: 1px solid color-mix(in srgb, var(--marquee-text, #ffffff) 8%, transparent);
    overflow: hidden;
}

.services-marquee-viewport {
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );
}

.services-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 0;
    padding: 0.95rem 0;
    animation: services-marquee-scroll var(--marquee-duration, 36s) linear infinite;
    will-change: transform;
}

.services-marquee:hover .services-marquee-track {
    animation-play-state: paused;
}

.services-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.services-marquee-item {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.85rem;
    padding: 0 1.75rem;
    color: color-mix(in srgb, var(--marquee-text, #ffffff) 78%, transparent);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.services-marquee-item:hover {
    color: var(--marquee-text, #ffffff);
}

.services-marquee-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: var(--marquee-icon, var(--theme-accent));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--marquee-icon, var(--theme-accent)) 22%, transparent);
}

.services-marquee-text {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

@keyframes services-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
    }

    .services-marquee-track {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 0.65rem;
        padding-inline: 1rem;
    }

    .services-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

.hero-swiper-slide-content {
    top: var(--site-header-total);
}

/* Mobile menu drawer */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(88vw, 20rem);
    background: #ffffff;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.32s step-end;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--mobile-action-bar-height, 0px);
}

.mobile-menu-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s;
}

.mobile-menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-drawer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.mobile-menu-drawer-logo {
    height: 2.28rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.mobile-menu-drawer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--theme-header-text);
    letter-spacing: -0.02em;
}

.mobile-menu-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    color: #475569;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-drawer-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1rem 1.5rem;
}

.mobile-menu-item-row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.mobile-menu-item-row .mobile-menu-link {
    flex: 1;
    min-width: 0;
}

.mobile-menu-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    border-radius: 0.75rem;
    color: #64748b;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-subtoggle:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mobile-menu-subtoggle-icon {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.25s ease;
}

.mobile-menu-group.is-open .mobile-menu-subtoggle-icon {
    transform: rotate(180deg);
}

.mobile-menu-subnav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.mobile-menu-group.is-open .mobile-menu-subnav {
    grid-template-rows: 1fr;
}

.mobile-menu-subnav-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-top: 0.125rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--theme-header-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
    background: var(--theme-accent);
    color: #ffffff;
}

.mobile-menu-sublink {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem 0.625rem 1.5rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    color: color-mix(in srgb, var(--theme-header-text) 78%, #94a3b8);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-sublink:hover {
    background: #f8fafc;
    color: var(--theme-header-text);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: var(--theme-accent);
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.mobile-menu-cta:hover {
    background: var(--theme-accent-hover);
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-menu-backdrop,
    .mobile-menu-drawer {
        display: none;
    }
}

/* Lazy load placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}
img[loading="lazy"].loaded,
img[loading="lazy"][src] {
    opacity: 1;
}

/* Sayfa başlığı alanı */
.page-header-content h1 {
    margin: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Sayfa başlık banner — page_banner_dimensions() ile uyumlu */
:root {
    --page-header-height-mobile: 166px;
    --page-header-height-desktop: 230px;
}

.page-header-banner {
    height: var(--page-header-height-mobile);
    max-height: var(--page-header-height-mobile);
    min-height: var(--page-header-height-mobile);
}

@media (min-width: 1024px) {
    .page-header-banner {
        height: var(--page-header-height-desktop);
        max-height: var(--page-header-height-desktop);
        min-height: var(--page-header-height-desktop);
    }
}

/* İç sayfa gövdesi — başlık bandı ile içerik arası boşluk (ana sayfa hariç) */
:root {
    --page-body-padding-top: 3rem;
    --page-body-padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    :root {
        --page-body-padding-top: 3.5rem;
        --page-body-padding-bottom: 5rem;
    }
}

.page-body {
    padding-top: var(--page-body-padding-top);
    padding-bottom: var(--page-body-padding-bottom);
}

/* Hero slider - sabit yükseklik (slider_dimensions() ile uyumlu) */
:root {
    --hero-slider-height-mobile: 700px;
    --hero-slider-height-desktop: 765px;
}

.hero-swiper {
    height: var(--hero-slider-height-mobile);
    max-height: var(--hero-slider-height-mobile);
    min-height: var(--hero-slider-height-mobile);
    flex-shrink: 0;
    --swiper-navigation-size: 2.75rem;
    /* Header altına taşan slider'da oklar görünür alanın dikey ortasında */
    --hero-slider-nav-top: calc(50% + var(--site-header-total) / 2);
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: stretch;
}

.hero-swiper .hero-swiper-slide-content {
    width: 100%;
}

.hero-swiper-slide-content .hero-swiper-title {
    margin-bottom: 1rem;
    font-size: 40px !important;
    line-height: 45px !important;
}

.hero-swiper-slide-content .hero-swiper-description {
    line-height: 26px !important;
}

@media (min-width: 640px) {
    .hero-swiper-slide-content .hero-swiper-description {
        line-height: 1.625;
    }

    .hero-swiper-slide-content .hero-swiper-title {
        margin-bottom: 1.5rem;
        font-size: 3rem !important;
        line-height: 3.5rem !important;
    }
}

@media (min-width: 1024px) {
    .hero-swiper-slide-content .hero-swiper-title {
        font-size: 70px !important;
        line-height: 78px !important;
    }
}

.home-hero-section .hero-swiper {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-swiper {
        height: var(--hero-slider-height-desktop);
        max-height: var(--hero-slider-height-desktop);
        min-height: var(--hero-slider-height-desktop);
    }
}

.hero-swiper-media {
    object-position: center center;
}

/* Swiper custom */
.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* Slider okları */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    display: none;
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    top: var(--hero-slider-nav-top);
    margin-top: calc(0px - var(--swiper-navigation-size) / 2);
    transform: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    z-index: 20;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-swiper .swiper-button-prev.swiper-button-disabled,
.hero-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.hero-swiper .swiper-navigation-icon {
    display: none;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.hero-swiper .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 0.15rem;
}

.hero-swiper .swiper-button-next::after {
    transform: rotate(45deg);
    margin-right: 0.15rem;
}

@media (min-width: 1024px) {
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-swiper .swiper-button-prev {
        left: 22px;
        right: auto;
    }

    .hero-swiper .swiper-button-next {
        right: 22px;
        left: auto;
    }
}

/* Masonry Gallery */
.gallery-masonry {
    column-count: 1;
    column-gap: 1rem;
}
@media (min-width: 640px) { .gallery-masonry { column-count: 2; } }
@media (min-width: 1024px) { .gallery-masonry { column-count: 3; } }
@media (min-width: 1024px) { .gallery-masonry--with-sidebar { column-count: 2; } }
.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Homepage sections — uniform vertical rhythm */
:root {
    --home-section-space: clamp(7rem, 10vw, 8.5rem);
    --home-section-after-hero-space: clamp(2.75rem, 5vw, 4rem);
    --home-section-intro-space: clamp(2.75rem, 5vw, 3.5rem);
}

.home-sections {
    display: flex;
    flex-direction: column;
    gap: var(--home-section-space);
    padding-top: var(--home-section-after-hero-space);
    padding-bottom: var(--home-section-space);
}

.home-section {
    padding-top: 0;
}

.home-section-header,
.home-features-heading {
    margin-bottom: var(--home-section-intro-space);
}

.home-section-header > .max-w-2xl > h2 + p {
    margin-top: 1rem;
}

.home-about-section .home-about-heading {
    font-size: 1.75rem !important;
    line-height: 2.125rem !important;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

@media (min-width: 640px) {
    .home-about-section .home-about-heading {
        font-size: 2.25rem !important;
        line-height: 2.625rem !important;
    }
}

@media (min-width: 1024px) {
    .home-about-section .home-about-heading {
        font-size: 45px !important;
        line-height: 53px !important;
    }
}

/* Homepage about — çift görsel galeri */
.home-about-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .home-about-gallery {
        gap: 1.5rem;
    }
}

.home-about-gallery-item {
    min-width: 0;
}

.home-about-gallery-item--secondary {
    padding-top: 3rem;
}

@media (min-width: 640px) {
    .home-about-gallery-item--secondary {
        padding-top: 4rem;
    }
}

@media (min-width: 1024px) {
    .home-about-gallery-item--secondary {
        padding-top: 5rem;
    }
}

.home-about-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 280px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(229 231 235 / 0.8), 0 4px 6px -4px rgb(229 231 235 / 0.8);
}

@media (min-width: 640px) {
    .home-about-gallery-image {
        min-height: 340px;
        border-radius: 1rem;
    }
}

@media (min-width: 1024px) {
    .home-about-gallery-image {
        min-height: 420px;
        border-radius: 1rem;
    }
}

/* About page */
:root {
    --about-section-space: clamp(3rem, 5vw, 4.5rem);
    --about-section-divider: color-mix(in srgb, var(--theme-text) 7%, transparent);
}

.about-page {
    display: flex;
    flex-direction: column;
    gap: var(--about-section-space);
    padding-top: var(--page-body-padding-top);
    padding-bottom: var(--about-section-space);
    background: #ffffff;
}

.about-page-section {
    padding: 0;
    background: transparent;
}

.about-section-heading {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 4.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .about-section-heading {
        line-height: 55px;
    }
}

.about-page-section-header {
    max-width: 40rem;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.about-page-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4.5vw, 3rem);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-page-intro {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: clamp(2.5rem, 5vw, 4rem);
    }
}

.about-page-intro-title {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 6.5vw, 2.75rem);
    line-height: 1.2;
}

.about-page-intro-heading {
    margin-bottom: 1.5rem;
}

.about-page-intro-content {
    min-width: 0;
}

.about-page-intro-text {
    margin-bottom: 0;
}

.about-page-intro-text + .about-page-intro-actions,
.about-page-intro-title + .about-page-intro-actions {
    margin-top: 1.75rem;
}

.about-page-intro-text:not(:empty) {
    margin-bottom: 0;
}

.about-page-intro-title + .about-page-intro-text {
    margin-top: 0;
}

.about-page-intro-visual {
    position: relative;
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
    min-width: 0;
}

@media (min-width: 1024px) {
    .about-page-intro-visual {
        max-width: none;
        margin-inline: 0;
    }
}

.about-page-intro-visual-accent {
    position: absolute;
    inset: 1rem -0.75rem -1rem 1rem;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--about-section-divider);
}

.about-page-intro-figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.16);
}

.about-page-intro-image {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
}

.about-page-section--extra .about-section-heading {
    margin-bottom: 1.25rem;
}

.about-page-extra-text {
    width: 100%;
    max-width: none;
    overflow-wrap: anywhere;
}

.about-page-intro-text {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.about-page-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-page-intro-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.about-page-intro-text.prose > :first-child,
.about-page-extra-text.prose > :first-child {
    margin-top: 0;
}

.about-page-intro-text.prose > :last-child,
.about-page-extra-text.prose > :last-child {
    margin-bottom: 0;
}

.about-page-intro-text.prose p + p,
.about-page-extra-text.prose p + p {
    margin-top: 1rem;
}

/* About — team section */
.about-page-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .about-page-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .about-page-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.about-page-team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -20px rgba(15, 23, 42, 0.12);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-page-team-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--theme-accent) 22%, transparent);
    box-shadow:
        0 24px 48px -20px rgba(15, 23, 42, 0.16),
        0 0 0 1px color-mix(in srgb, var(--theme-accent) 8%, transparent);
}

.about-page-team-media {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 1.25rem;
}

.about-page-team-photo-wrap {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
}

.about-page-team-photo-wrap::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    border-radius: 0 0 1rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.14) 100%);
    pointer-events: none;
}

.about-page-team-photo-wrap--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--theme-text) 28%, transparent);
}

.about-page-team-photo-wrap--empty svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke-width: 1.25;
}

.about-page-team-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page-team-card:hover .about-page-team-photo {
    transform: scale(1.05);
}

.about-page-team-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0;
}

.about-page-team-name {
    margin: 0;
    font-size: calc(1.125rem + 5px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.about-page-team-role {
    margin: 0;
    font-size: calc(0.875rem + 5px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #64748b;
}

.about-page-team-linkedin {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: #ffffff;
    color: var(--theme-text);
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.35);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.about-page-team-linkedin i {
    color: #0a66c2;
}

.about-page-team-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
    transform: translateY(-1px);
}

.about-page-team-linkedin:hover i {
    color: #ffffff;
}

/* About — values section */
.about-page-values-inner {
    position: relative;
}

.about-page-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-page-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .about-page-values-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.about-page-value-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
    border-radius: 1.25rem;
    background: var(--theme-body-bg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-page-value-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--theme-text) 12%, transparent);
    box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.1);
}

.about-page-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    border-radius: 0.875rem;
    background: var(--theme-accent);
    color: #ffffff;
}

.about-page-value-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.75;
}

.about-page-value-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.about-page-value-desc {
    margin-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

@media (max-width: 767px) {
    .about-page {
        gap: 2.25rem;
        padding-top: var(--page-body-padding-top);
        padding-bottom: 2.25rem;
        overflow-x: clip;
    }

    .about-page-intro {
        gap: 1.5rem;
    }

    .about-page-intro-visual {
        max-width: 100%;
        overflow: hidden;
    }

    .about-page-intro-visual-accent {
        inset: 0.75rem 0 -0.5rem 0.75rem;
    }

    .about-page-intro-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-page-intro-actions a {
        width: 100%;
    }

    .about-page-extra-text :is(img, video, iframe, table),
    .about-page-intro-text :is(img, video, iframe, table) {
        max-width: 100%;
    }

    .about-page-extra-text table {
        display: block;
        overflow-x: auto;
    }

    .about-page-team-card:hover,
    .about-page-value-card:hover {
        transform: none;
    }

    .about-page-team-card:hover .about-page-team-photo {
        transform: none;
    }
}

/* Service cards */
.services-section {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--theme-accent) 8%, transparent), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #ffffff 100%);
}

.services-grid {
    align-items: stretch;
}

.service-card-wrap {
    animation: serviceCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    height: 100%;
}

@keyframes serviceCardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    display: block;
    height: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 10px 28px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.service-card-wrap:hover .service-card {
    transform: translateY(-5px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.06),
        0 20px 44px rgba(15, 23, 42, 0.14);
}

.service-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(145deg, var(--theme-accent-soft) 0%, #ffffff 100%);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-wrap:hover .service-card-image {
    transform: scale(1.07);
}

.service-card-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, var(--theme-accent) 0%, var(--theme-accent-hover) 50%, var(--theme-dark-bg) 100%);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, transparent 28%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.35) 42%, transparent 72%);
    transition: opacity 0.45s ease;
}

.service-card-wrap:hover .service-card-overlay {
    opacity: 0.94;
}

.service-card-action {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--theme-text);
    box-shadow: none;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-action svg,
.service-card-action i {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-wrap:hover .service-card-action {
    background: var(--theme-accent);
    color: #ffffff;
    box-shadow: none;
    transform: scale(1.05);
}

.service-card-wrap:hover .service-card-action svg,
.service-card-wrap:hover .service-card-action i {
    transform: translate(1px, -1px);
}

@media (min-width: 1024px) {
    .service-card-action {
        top: 1.25rem;
        right: 1.25rem;
        width: 3rem;
        height: 3rem;
    }

    .service-card-action svg,
    .service-card-action i {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.service-card-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 1.25rem 4.5rem 1.25rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .service-card-title {
        padding: 1.5rem 5rem 1.5rem 1.5rem;
        font-size: 1.375rem;
    }
}

/* Home — features / value section */
.home-features-heading {
    max-width: 52rem;
    font-size: 1.75rem !important;
    font-weight: 400;
    line-height: 2.125rem !important;
    letter-spacing: -0.03em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 640px) {
    .home-features-heading {
        font-size: 2.25rem !important;
        line-height: 2.625rem !important;
    }
}

@media (min-width: 1024px) {
    .home-features-heading {
        font-size: 45px !important;
        line-height: 53px !important;
    }
}

.home-features-heading strong {
    font-weight: 700;
}

.home-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .home-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .home-features-grid {
        gap: 3rem;
    }
}

.home-features-icon {
    display: inline-flex;
    color: var(--theme-text);
}

.home-features-icon svg {
    width: 2.75rem;
    height: 2.75rem;
    stroke-width: 1.35;
}

.home-features-title {
    margin-top: 1.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.home-features-desc {
    margin-top: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

/* Products page */
.products-page {
    background: #ffffff;
}

.blog-card-title {
    line-height: 26px !important;
}

.product-card-title {
    line-height: 24px !important;
}

/* —— Product detail page —— */
.product-detail-page {
    background: #ffffff;
}

.product-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.8125rem;
}

@media (min-width: 1024px) {
    .product-detail-breadcrumb {
        margin-bottom: 3rem;
    }
}

.product-detail-breadcrumb-link {
    color: #64748b;
    transition: color 0.25s ease;
}

.product-detail-breadcrumb-link:hover {
    color: var(--theme-text);
}

.product-detail-breadcrumb-sep {
    color: #cbd5e1;
}

.product-detail-breadcrumb-current {
    color: var(--theme-text);
    font-weight: 500;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 4rem;
    }
}

.product-detail-image-wrap {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 16px 40px rgba(15, 23, 42, 0.06);
    aspect-ratio: 1 / 1;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-image-fallback {
    display: flex;
    height: 100%;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.product-detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .product-detail-gallery {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .product-detail-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.product-detail-thumb {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 0.875rem;
    border: 2px solid transparent;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-thumb:hover {
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.product-detail-thumb.is-active {
    border-color: var(--theme-text);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .product-detail-info {
        position: sticky;
        top: 7rem;
    }
}

.product-detail-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, color 0.25s ease;
}

.product-detail-category:hover {
    background: var(--theme-accent);
    color: #ffffff;
}

.product-detail-title {
    font-size: clamp(1.5rem, 5vw, 2.375rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .product-detail-title {
        line-height: 55px;
    }
}

.product-detail-excerpt {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
}

.product-detail-price-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    background: #fafbfc;
    border: 1px solid #eef2f6;
}

.product-detail-price-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.product-detail-price {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--theme-text);
}

.product-detail-price--info {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--theme-accent);
}

.product-detail-specs {
    padding-top: 0.5rem;
}

.product-detail-specs-title {
    margin-bottom: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.product-detail-specs-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f1f5f9;
}

.product-detail-spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.product-detail-spec-row dt {
    font-weight: 500;
    color: #64748b;
}

.product-detail-spec-row dd {
    font-weight: 600;
    color: var(--theme-text);
    text-align: right;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.product-detail-qty-hint {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.product-detail-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0 1.75rem;
    border: none;
    border-radius: 1rem;
    background: var(--theme-accent);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-detail-cta-primary svg {
    width: 1.125rem;
    height: 1.125rem;
}

.product-detail-cta-primary:hover {
    background: var(--theme-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.product-detail-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0 1.75rem;
    border: none;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--theme-whatsapp) 0%, var(--theme-whatsapp-dark) 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.product-detail-cta-whatsapp-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.product-detail-cta-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: none;
}

.product-detail-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0 1.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    color: var(--theme-text);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-detail-cta-secondary svg {
    width: 1.125rem;
    height: 1.125rem;
}

.product-detail-cta-secondary:hover:not(:disabled) {
    border-color: var(--theme-accent);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.product-detail-cta-secondary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.product-detail-content {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #f1f5f9;
}

@media (min-width: 1024px) {
    .product-detail-content {
        margin-top: 5rem;
        padding-top: 4rem;
    }
}

.product-detail-content-title {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 640px) {
    .product-detail-content-title {
        font-size: 1.5rem;
    }
}

.product-detail-prose {
    color: #475569;
}

/* Ürün sipariş / teklif modal */
.product-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@media (max-width: 767px) {
    .product-inquiry-modal {
        align-items: flex-end;
        padding: 0;
    }
}

.product-inquiry-modal.hidden {
    display: none;
}

.product-inquiry-modal.is-visible .product-inquiry-modal-backdrop {
    opacity: 1;
}

.product-inquiry-modal.is-visible .product-inquiry-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-inquiry-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-inquiry-modal-panel {
    position: relative;
    width: 100%;
    max-width: 44rem;
    max-height: min(92vh, 680px);
    overflow: hidden;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid #e8edf2;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
    .product-inquiry-modal-panel {
        max-width: 100%;
        max-height: min(94dvh, 720px);
        border-radius: 1.25rem 1.25rem 0 0;
        transform: translateY(100%);
    }

    .product-inquiry-modal.is-visible .product-inquiry-modal-panel {
        transform: translateY(0);
    }
}

.product-inquiry-modal-handle {
    display: none;
}

@media (max-width: 767px) {
    .product-inquiry-modal-handle {
        display: block;
        position: absolute;
        top: 0.5rem;
        left: 50%;
        z-index: 6;
        width: 2.5rem;
        height: 0.25rem;
        border-radius: 9999px;
        background: #cbd5e1;
        transform: translateX(-50%);
        pointer-events: none;
    }
}

.product-inquiry-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e8edf2;
    border-radius: 9999px;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

@media (max-width: 767px) {
    .product-inquiry-modal-close {
        top: 0.875rem;
        right: 0.875rem;
        width: 2.375rem;
        height: 2.375rem;
    }
}

.product-inquiry-modal-close:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #dbe3ea;
}

.product-inquiry-modal-close svg {
    width: 1.125rem;
    height: 1.125rem;
}

.product-inquiry-modal-layout {
    display: grid;
    grid-template-columns: 1fr;
    max-height: min(92vh, 680px);
}

@media (max-width: 767px) {
    .product-inquiry-modal-layout {
        display: flex;
        flex-direction: column;
        max-height: min(94dvh, 720px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 768px) {
    .product-inquiry-modal-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    }
}

.product-inquiry-modal-aside {
    position: relative;
    padding: 2rem 1.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf2;
    color: var(--theme-text);
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-inquiry-modal-aside {
        border-bottom: none;
        border-right: 1px solid #e8edf2;
    }
}

@media (max-width: 767px) {
    .product-inquiry-modal-aside {
        padding: 1.125rem 3.75rem 1.125rem 1.125rem;
    }
}

.product-inquiry-modal-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
}

@media (max-width: 767px) {
    .product-inquiry-modal-aside-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.875rem;
        min-height: auto;
    }
}

.product-inquiry-modal-aside-media {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .product-inquiry-modal-aside-media {
        align-items: center;
        width: 4.75rem;
    }
}

.product-inquiry-modal-aside-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

.product-inquiry-modal--quote .product-inquiry-modal-aside,
.product-inquiry-modal--order .product-inquiry-modal-aside {
    background: #f8fafc;
}

.product-inquiry-modal-product-thumb {
    width: 6.5rem;
    height: 6.5rem;
    margin-bottom: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e8edf2;
    background: #ffffff;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .product-inquiry-modal-product-thumb {
        width: 4.75rem;
        height: 4.75rem;
        margin-bottom: 0;
        border-radius: 0.875rem;
    }
}

@media (min-width: 768px) {
    .product-inquiry-modal-product-thumb {
        width: 7.5rem;
        height: 7.5rem;
        margin-bottom: 0;
        border-radius: 1.25rem;
    }
}

.product-inquiry-modal-product-thumb.hidden {
    display: none;
}

.product-inquiry-modal-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-inquiry-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0;
    border-radius: 0.875rem;
    background: var(--theme-accent-soft);
    border: 1px solid #e8edf2;
    color: var(--theme-accent);
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .product-inquiry-modal-icon {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0;
    }
}

.product-inquiry-modal-icon.hidden {
    display: none;
}

.product-inquiry-modal-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.product-inquiry-modal-badge {
    display: inline-flex;
    padding: 0.3125rem 0.75rem;
    margin-bottom: 0.875rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e8edf2;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--theme-accent);
}

@media (max-width: 767px) {
    .product-inquiry-modal-badge {
        margin-bottom: 0.375rem;
        padding: 0.25rem 0.625rem;
        font-size: 0.625rem;
    }
}

.product-inquiry-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 768px) {
    .product-inquiry-modal-title {
        font-size: 1.5rem;
    }
}

.product-inquiry-modal-desc {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 18rem;
}

@media (max-width: 767px) {
    .product-inquiry-modal-desc {
        display: none;
    }
}

.product-inquiry-modal-product {
    margin-top: 0.625rem;
    margin-bottom: 1.25rem;
    padding-top: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--theme-text);
    text-align: left;
}

@media (min-width: 768px) {
    .product-inquiry-modal-product {
        max-width: 7.5rem;
    }
}

@media (max-width: 767px) {
    .product-inquiry-modal-product {
        margin-top: 0.5rem;
        margin-bottom: 0;
        font-size: 0.6875rem;
        line-height: 1.35;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.product-inquiry-modal-body {
    padding: 2rem 1.75rem;
    overflow-y: auto;
    background: #fff;
    flex: 1;
    min-height: 0;
}

@media (max-width: 767px) {
    .product-inquiry-modal-body {
        padding: 1.25rem 1.125rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
        overflow-y: visible;
    }
}

@media (min-width: 768px) {
    .product-inquiry-modal-body {
        padding: 2.25rem 2rem;
    }
}

.product-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

@media (max-width: 767px) {
    .product-inquiry-form {
        gap: 0.875rem;
    }
}

.product-inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.125rem;
}

@media (min-width: 768px) {
    .product-inquiry-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-inquiry-form-grid {
        gap: 0.875rem;
    }
}

.product-inquiry-field {
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
}

.product-inquiry-field.hidden {
    display: none;
}

.product-inquiry-field label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.product-inquiry-qty-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.product-inquiry-qty-hint.hidden {
    display: none;
}

.product-inquiry-input {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1px solid #e8edf2;
    border-radius: 0.875rem;
    background: #f8fafc;
    font-size: 0.9375rem;
    color: var(--theme-text);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

@media (max-width: 767px) {
    .product-inquiry-input {
        padding: 0.75rem 0.875rem;
        font-size: 1rem;
        border-radius: 0.75rem;
    }
}

.product-inquiry-input::placeholder {
    color: #94a3b8;
}

.product-inquiry-input:focus {
    outline: none;
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 12%, transparent);
    background: #fff;
}

.product-inquiry-textarea {
    resize: vertical;
    min-height: 5.5rem;
}

@media (max-width: 767px) {
    .product-inquiry-textarea {
        min-height: 4.5rem;
    }
}

.product-inquiry-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.25rem;
    margin-top: 0.25rem;
    padding: 0 1.5rem;
    border: none;
    border-radius: 0.875rem;
    background: var(--theme-accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

@media (max-width: 767px) {
    .product-inquiry-submit {
        position: sticky;
        bottom: env(safe-area-inset-bottom, 0px);
        z-index: 2;
        min-height: 3rem;
        margin-top: 0.5rem;
        font-size: 1rem;
        border-radius: 0.75rem;
        box-shadow: none;
    }
}

.product-inquiry-submit-icon {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.25s ease;
}

.product-inquiry-submit:hover:not(:disabled),
.product-inquiry-submit:focus,
.product-inquiry-submit:focus-visible,
.product-inquiry-submit:active {
    box-shadow: none;
}

.product-inquiry-submit:hover:not(:disabled) {
    background: var(--theme-accent-hover);
}

.product-inquiry-submit:hover:not(:disabled) .product-inquiry-submit-icon {
    transform: translateX(2px);
}

.product-inquiry-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.product-inquiry-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.625rem;
    padding: 2rem 1rem;
    border-radius: 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.product-inquiry-success.hidden {
    display: none;
}

.product-inquiry-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #fff;
    color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}

.product-inquiry-success-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.product-inquiry-success-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #065f46;
}

.product-inquiry-success-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #047857;
    max-width: 20rem;
}

.product-inquiry-form.is-success .product-inquiry-form-grid,
.product-inquiry-form.is-success .product-inquiry-field:not(#product-inquiry-success),
.product-inquiry-form.is-success .product-inquiry-submit {
    display: none;
}

.product-inquiry-form.is-success #product-inquiry-success {
    display: flex;
}

/* Header sepet */
.site-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    color: var(--theme-header-text);
    background: #f8fafc;
    border: 1px solid #eef2f6;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.site-header-cart:hover,
.site-header-cart.is-active {
    color: var(--theme-text);
    background: #fff;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.site-header-cart-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.site-header-cart-badge {
    position: absolute;
    top: -0.3125rem;
    right: -0.3125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    border-radius: 9999px;
    background: var(--theme-accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}

.site-header-cart-badge.hidden {
    display: none;
}

/* Sepet sayfası */
.cart-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-page-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .cart-page-title {
        line-height: 55px;
    }
}

.cart-page-subtitle {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.cart-page-continue {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-accent);
}

.cart-page-continue:hover {
    text-decoration: underline;
}

.cart-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #eef2f6;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.cart-page-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: #fff;
    color: #94a3b8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cart-page-empty-icon svg {
    width: 2rem;
    height: 2rem;
}

.cart-page-empty-title {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--theme-text);
    text-wrap: balance;
}

.cart-page-empty-text {
    margin-top: 0.5rem;
    max-width: 24rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

.cart-page-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    min-height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.875rem;
    background: var(--theme-accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.cart-page-empty-cta svg {
    width: 1rem;
    height: 1rem;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .cart-page-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
        gap: 2rem;
    }
}

.cart-page-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.125rem;
    border: 1px solid #eef2f6;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
    .cart-item {
        grid-template-columns: 6.5rem minmax(0, 1fr);
        padding: 1.125rem 1.25rem;
    }
}

.cart-item-media {
    display: block;
    aspect-ratio: 1;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #f8fafc;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #cbd5e1;
}

.cart-item-media-fallback svg {
    width: 1.75rem;
    height: 1.75rem;
}

.cart-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    min-width: 0;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item-name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--theme-text);
}

.cart-item-name:hover {
    color: var(--theme-accent);
}

.cart-item-price {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.cart-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 0.625rem;
    background: #f8fafc;
    color: #94a3b8;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-item-remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cart-item-remove svg {
    width: 1rem;
    height: 1rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item-qty-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.cart-item-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e8edf2;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8fafc;
}

.cart-item-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
}

.cart-item-qty-btn:hover {
    background: #fff;
    color: var(--theme-text);
}

.cart-item-qty-input {
    width: 3rem;
    height: 2.25rem;
    border: none;
    border-left: 1px solid #e8edf2;
    border-right: 1px solid #e8edf2;
    background: #fff;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--theme-text);
    -moz-appearance: textfield;
}

.cart-item-qty-input::-webkit-outer-spin-button,
.cart-item-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-qty-input:focus {
    outline: none;
}

.cart-summary-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid #eef2f6;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

@media (min-width: 1024px) {
    .cart-summary-card {
        position: sticky;
        top: calc(var(--site-header-offset, 5rem) + 1rem);
    }
}

.cart-summary-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--theme-text);
}

.cart-summary-count {
    margin-top: 0.375rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.cart-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.cart-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cart-checkout-field label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.cart-checkout-input {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #e8edf2;
    border-radius: 0.75rem;
    background: #f8fafc;
    font-size: 1rem;
    color: var(--theme-text);
}

.cart-checkout-input:focus {
    outline: none;
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.cart-checkout-textarea {
    resize: vertical;
    min-height: 5rem;
}

.cart-checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3rem;
    margin-top: 0.25rem;
    border: none;
    border-radius: 0.75rem;
    background: var(--theme-accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}

.cart-checkout-submit-icon {
    width: 1rem;
    height: 1rem;
}

.cart-checkout-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cart-checkout-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    border-radius: 0.875rem;
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
}

.cart-checkout-success.hidden {
    display: none;
}

.cart-checkout-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: #fff;
    color: #059669;
}

.cart-checkout-success-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.cart-checkout-success-title {
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
}

.cart-checkout-success-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #047857;
}

.cart-checkout-form.is-success .cart-checkout-field,
.cart-checkout-form.is-success .cart-checkout-submit {
    display: none;
}

.cart-checkout-form.is-success .cart-checkout-success {
    display: flex;
}

/* —— Service detail page —— */
.service-detail-page {
    background: #ffffff;
}

.service-detail-prose {
    color: #475569;
}

/* —— Detail page sidebars (services, blog, products & gallery) —— */
.services-sidebar-panel,
.blog-sidebar-panel,
.products-sidebar-panel,
.gallery-sidebar-panel {
    padding: 1.375rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e8edf2;
}

.services-sidebar-header,
.blog-sidebar-header,
.products-sidebar-header,
.gallery-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.125rem;
    padding-bottom: 1.125rem;
    border-bottom: 1px solid #eef2f6;
}

.services-sidebar-header-icon,
.blog-sidebar-header-icon,
.products-sidebar-header-icon,
.gallery-sidebar-header-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 0.8125rem;
    background: var(--theme-accent);
    color: #ffffff;
}

.services-sidebar-header-icon svg,
.blog-sidebar-header-icon svg,
.products-sidebar-header-icon svg,
.gallery-sidebar-header-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.services-sidebar-label,
.blog-sidebar-label,
.products-sidebar-label,
.gallery-sidebar-label {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--theme-text);
}

.services-sidebar-list,
.blog-sidebar-list,
.products-sidebar-list,
.gallery-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.services-sidebar-item,
.blog-sidebar-item,
.products-sidebar-item,
.gallery-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.875rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid transparent;
    border-radius: 0.9375rem;
    color: #64748b;
    text-decoration: none;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.services-sidebar-item:hover,
.blog-sidebar-item:hover,
.products-sidebar-item:hover,
.gallery-sidebar-item:hover {
    color: var(--theme-text);
    background: #ffffff;
    border-color: #e8edf2;
    transform: translateX(2px);
}

.services-sidebar-item.is-active,
.blog-sidebar-item.is-active,
.products-sidebar-item.is-active,
.gallery-sidebar-item.is-active {
    color: var(--theme-text);
    background: #ffffff;
    border-color: color-mix(in srgb, var(--theme-accent) 24%, #e8edf2);
}

.services-sidebar-item.is-active:hover,
.blog-sidebar-item.is-active:hover,
.products-sidebar-item.is-active:hover,
.gallery-sidebar-item.is-active:hover {
    transform: none;
}

.services-sidebar-name,
.blog-sidebar-name,
.products-sidebar-name,
.gallery-sidebar-name {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
}

.services-sidebar-item.is-active .services-sidebar-name,
.blog-sidebar-item.is-active .blog-sidebar-name,
.products-sidebar-item.is-active .products-sidebar-name,
.gallery-sidebar-item.is-active .gallery-sidebar-name {
    font-weight: 600;
}

.services-sidebar-arrow,
.blog-sidebar-arrow,
.products-sidebar-arrow,
.gallery-sidebar-arrow {
    flex-shrink: 0;
    width: 0.9375rem;
    height: 0.9375rem;
    color: #cbd5e1;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        color 0.22s ease;
}

.services-sidebar-item:hover .services-sidebar-arrow,
.services-sidebar-item.is-active .services-sidebar-arrow,
.blog-sidebar-item:hover .blog-sidebar-arrow,
.blog-sidebar-item.is-active .blog-sidebar-arrow,
.products-sidebar-item:hover .products-sidebar-arrow,
.products-sidebar-item.is-active .products-sidebar-arrow,
.gallery-sidebar-item:hover .gallery-sidebar-arrow,
.gallery-sidebar-item.is-active .gallery-sidebar-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--theme-accent);
}

/* —— Blog detail page —— */
.blog-detail-page {
    background: #ffffff;
}

.blog-detail-prose {
    color: #475569;
}

/* —— Contact page —— */
.contact-page {
    background: #ffffff;
}

.contact-page-info {
    --contact-card-padding-x: 1.35rem;
    --contact-card-icon-size: 2.75rem;
    --contact-card-gap: 1rem;
    --contact-card-content-inset: calc(
        var(--contact-card-padding-x) + var(--contact-card-icon-size) + var(--contact-card-gap)
    );
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-page-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 4rem;
    }
}

.contact-page-eyebrow {
    margin-bottom: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--theme-accent);
}

.contact-page-heading {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--theme-text);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .contact-page-heading {
        line-height: 55px;
    }
}

.contact-page-lead {
    margin-top: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
}

.contact-page-intro {
    padding-inline: var(--contact-card-padding-x);
    margin-bottom: 1.625rem;
}

.contact-page-cards {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.contact-page-card {
    display: flex;
    align-items: flex-start;
    gap: var(--contact-card-gap);
    padding: 1.25rem var(--contact-card-padding-x);
    border: 1px solid #eef2f6;
    border-radius: 1rem;
    background: #ffffff;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

a.contact-page-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.contact-page-card-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--contact-card-icon-size);
    height: var(--contact-card-icon-size);
    border-radius: 0.75rem;
    background: var(--theme-accent);
    color: #ffffff;
    box-shadow: none;
}

.contact-page-card-icon--whatsapp {
    background: var(--theme-whatsapp);
}

.contact-page-card-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.contact-page-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.contact-page-card-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.contact-page-card-value {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--theme-text);
}

a.contact-page-card:hover .contact-page-card-value {
    color: var(--theme-accent);
}

.contact-page-card--static .contact-page-card-value {
    font-weight: 600;
    color: var(--theme-text);
}

.contact-page-form-panel {
    padding: clamp(1.75rem, 4vw, 2.25rem);
    border: 1px solid #eef2f6;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 20px 48px -16px rgba(15, 23, 42, 0.1);
}

.contact-page-form-header {
    margin-bottom: 1.75rem;
}

.contact-page-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.contact-page-form-desc {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-page-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .contact-page-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-page-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-page-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.contact-page-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fafbfc;
    font-size: 0.9375rem;
    color: var(--theme-text);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-page-input:focus {
    outline: none;
    border-color: var(--theme-text);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.contact-page-textarea {
    resize: vertical;
    min-height: 8rem;
}

.contact-page-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.25rem;
    margin-top: 0.25rem;
    padding: 0 1.5rem;
    border: none;
    border-radius: 0.875rem;
    background: var(--theme-accent);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-page-submit svg {
    width: 1rem;
    height: 1rem;
}

.contact-page-submit:hover {
    background: var(--theme-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.contact-page-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem) 1rem;
    min-height: 18rem;
}

.contact-page-form-success.hidden {
    display: none;
}

.contact-page-form-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #059669;
}

.contact-page-form-success-icon svg {
    width: 2rem;
    height: 2rem;
}

.contact-page-form-success-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.contact-page-form-success-text {
    margin-top: 0.75rem;
    max-width: 22rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

.contact-page-form.hidden {
    display: none;
}

/* Prose styling — editör içeriği (Tailwind preflight başlık margin/font sıfırlar) */
.prose :where(p) {
    margin-top: 0;
    margin-bottom: 1.25em;
}

.prose :where(p:last-child) {
    margin-bottom: 0;
}

.prose :where(p + p) {
    margin-top: 0;
}

.prose-lg :where(p) {
    margin-bottom: 1.3333333em;
}

.prose-sm :where(p) {
    margin-bottom: 1.25em;
}

.prose :where(h1) {
    margin-top: 0;
    margin-bottom: 0.875em;
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.prose :where(h2) {
    margin-top: 1.6em;
    margin-bottom: 0.75em;
    font-size: 1.375em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--theme-text);
}

.prose :where(h3) {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--theme-text);
}

.prose :where(h4) {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    font-size: 1.0625em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--theme-text);
}

@media (min-width: 1024px) {
    .prose :where(h1) {
        font-size: 2.25em;
        line-height: 1.2;
    }

    .prose :where(h2) {
        font-size: 1.5em;
        line-height: 1.3;
    }

    .prose :where(h3) {
        font-size: 1.25em;
        line-height: 1.35;
    }

    .prose :where(h4) {
        font-size: 1.125em;
        line-height: 1.35;
    }
}

.prose :where(h1:first-child),
.prose :where(h2:first-child),
.prose :where(h3:first-child),
.prose :where(h4:first-child) {
    margin-top: 0;
}

.prose-lg :where(h1) {
    font-size: 2.6666667em;
    line-height: 1.1;
}

.prose-lg :where(h2) {
    margin-top: 1.5em;
    font-size: 1.6666667em;
    line-height: 1.3;
}

.prose-lg :where(h3) {
    margin-top: 1.3333333em;
    font-size: 1.3333333em;
    line-height: 1.35;
}

.prose-lg :where(h4) {
    font-size: 1.1111111em;
    line-height: 1.35;
}

.prose-lg :where(h1:first-child),
.prose-lg :where(h2:first-child),
.prose-lg :where(h3:first-child),
.prose-lg :where(h4:first-child) {
    margin-top: 0;
}

.prose-sm :where(h1) {
    font-size: 1.875em;
}

.prose-sm :where(h2) {
    font-size: 1.375em;
}

.prose :where(blockquote) {
    margin: 1.25em 0;
    padding-left: 1em;
    border-left: 4px solid #e2e8f0;
    font-style: italic;
    color: #64748b;
}

.prose :where(ul),
.prose :where(ol) {
    margin: 0 0 1.25em;
    padding-left: 1.625em;
}

.prose :where(li) {
    margin: 0.375em 0;
}

.prose :where(li > ul),
.prose :where(li > ol) {
    margin: 0.375em 0 0;
}

.prose :where(strong) {
    font-weight: 700;
    color: var(--theme-text);
}

/* TinyMCE boş satır: <p></p>, <p><br></p> — frontendde görünmez */
.prose :where(p:empty),
.prose :where(p:has(> br:only-child)) {
    display: none;
    margin: 0;
}

.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 1rem;
}

.prose figure img {
    margin: 0;
}

.prose figure {
    margin: 1.5em 0;
}
.prose a { color: var(--theme-accent); text-decoration: underline; }
.prose a:hover { color: var(--theme-accent-hover); }

/* Floating actions (desktop) */
.floating-whatsapp {
    background: linear-gradient(145deg, var(--theme-whatsapp) 0%, var(--theme-whatsapp-dark) 100%);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--theme-whatsapp) 38%, transparent);
}

.floating-whatsapp:hover {
    box-shadow: 0 14px 32px color-mix(in srgb, var(--theme-whatsapp) 48%, transparent);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

#floating-actions a,
#floating-actions-mobile a {
    animation: float 3s ease-in-out infinite;
}

.floating-actions--mobile {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* Mobile action bar */
:root {
    --mobile-action-bar-height: calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

#mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    width: 100%;
    max-width: 100vw;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

#mobile-action-bar .mobile-action-bar-inner {
    pointer-events: auto;
}

.mobile-action-bar-inner {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-action-bar-btn {
    flex: 1 1 0;
    min-width: 0;
}

.mobile-action-bar-call + .mobile-action-bar-whatsapp {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-action-bar-whatsapp {
    background: linear-gradient(145deg, var(--theme-whatsapp) 0%, var(--theme-whatsapp-dark) 100%);
}

@media (max-width: 1023px) {
    body.has-mobile-action-bar {
        padding-bottom: var(--mobile-action-bar-height);
    }
}

@media (min-width: 1024px) {
    #mobile-action-bar {
        display: none;
    }
}

/* Page transitions */
main {
    animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
