/*
Theme Name: Lifci
Theme URI: https://lifci.com
Author: Lifci
Author URI: https://lifci.com
Description: El yapımı banyo lifleri için sıcak, modern ve WooCommerce uyumlu mağaza teması. Lifci Ayarları panelinden kapsamlı biçimde özelleştirilebilir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lifci
Tags: e-commerce, woocommerce, custom-logo, custom-colors, custom-menu, featured-images, translation-ready
*/

:root {
    --lifci-primary: #c96545;
    --lifci-primary-dark: #a94931;
    --lifci-accent: #d88667;
    --lifci-sage: #d9ddc8;
    --lifci-cream: #fbf8f2;
    --lifci-surface: #ffffff;
    --lifci-ink: #302c29;
    --lifci-muted: #6d6964;
    --lifci-border: #e7e1d8;
    --lifci-radius: 18px;
    --lifci-shadow: 0 16px 40px rgba(65, 49, 39, .08);
    --lifci-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--lifci-cream);
    color: var(--lifci-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lifci-primary); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--lifci-container)); margin-inline: auto; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; left: 10px; padding: 10px 14px; top: 10px; width: auto; z-index: 100000; background: var(--lifci-surface); color: var(--lifci-ink); }

.announcement-bar { background: var(--lifci-primary); color: #fff; font-size: 13px; padding: 8px 16px; text-align: center; letter-spacing: .01em; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(231,225,216,.7); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.site-branding { display: flex; align-items: center; gap: 11px; min-width: max-content; }
.site-branding img { max-height: 48px; width: auto; }
.site-title { font-family: Georgia, serif; font-size: 32px; letter-spacing: -.04em; }
.site-title:hover { color: var(--lifci-ink); }
.site-description { display: none; }
.primary-navigation { flex: 1; display: flex; justify-content: center; }
.primary-navigation ul { display: flex; gap: 26px; align-items: center; list-style: none; padding: 0; margin: 0; }
.primary-navigation a { font-size: 14px; color: var(--lifci-ink); padding: 28px 0; position: relative; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--lifci-primary); }
.primary-navigation .current-menu-item > a::after { content: ""; position: absolute; bottom: 20px; left: 0; right: 0; height: 2px; background: var(--lifci-primary); border-radius: 3px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-action { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--lifci-ink); position: relative; }
.header-action svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.cart-count { position: absolute; top: -5px; right: -7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lifci-primary); color: #fff; font-size: 10px; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--lifci-ink); }

.hero { padding: 0; }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; min-height: 490px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 62px 54px 62px max(20px, calc((100vw - var(--lifci-container)) / 2)); background: #f7f0e7; }
.hero-kicker { margin: 0 0 14px; color: var(--lifci-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.hero-title { max-width: 540px; margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 70px); line-height: 1.01; letter-spacing: -.055em; }
.hero-text { max-width: 490px; margin: 22px 0 0; color: var(--lifci-muted); font-size: 17px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border-radius: 9px; border: 1px solid transparent; background: var(--lifci-primary); color: #fff; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--lifci-primary-dark); color: #fff; }
.button--outline { background: transparent; color: var(--lifci-primary); border-color: var(--lifci-primary); }
.button--outline:hover { background: var(--lifci-primary); }
.hero-image { min-height: 490px; background: #ede2d3 center / cover no-repeat; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 34px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--lifci-muted); font-size: 13px; }
.trust-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--lifci-primary); border: 1px solid #d7cabc; border-radius: 50%; }
.trust-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.section { padding: 74px 0; }
.section--tight { padding-top: 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-title { margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lifci-primary); font-size: 14px; font-weight: 700; }
.section-link::after { content: "→"; font-size: 19px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--lifci-border); border-radius: var(--lifci-radius); background: var(--lifci-surface); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--lifci-shadow); }
.product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f2ece3; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-content { padding: 17px 18px 19px; }
.product-title { margin: 0 0 8px; font-family: Georgia, serif; font-size: 19px; line-height: 1.2; }
.product-price { color: var(--lifci-muted); font-size: 14px; }
.product-price .amount { color: var(--lifci-ink); font-weight: 800; }
.product-add { position: absolute; right: 13px; bottom: 13px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lifci-primary); color: #fff; }
.product-add svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card { min-height: 116px; display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--lifci-border); border-radius: 15px; background: #fffaf3; }
.category-card:hover { border-color: var(--lifci-primary); }
.category-card img { width: 86px; height: 86px; object-fit: cover; border-radius: 50%; }
.category-card-title { flex: 1; font-family: Georgia, serif; font-size: 17px; line-height: 1.2; }
.category-arrow { color: var(--lifci-primary); font-size: 20px; }

.value-band { background: var(--lifci-sage); }
.value-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; align-items: center; }
.value-intro-title { margin: 0; font-family: Georgia, serif; font-size: 28px; line-height: 1.15; }
.value-item { display: flex; gap: 12px; align-items: flex-start; padding-left: 26px; border-left: 1px solid rgba(48,44,41,.18); }
.value-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.65); color: var(--lifci-primary); }
.value-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.value-item h3 { margin: 0 0 4px; font-size: 14px; }
.value-item p { margin: 0; color: rgba(48,44,41,.7); font-size: 12px; line-height: 1.5; }

.newsletter { padding: 70px 0; background: #f3e6d9; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; }
.newsletter-title { margin: 0 0 10px; font-family: Georgia, serif; font-size: 39px; line-height: 1.1; }
.newsletter-text { margin: 0; color: var(--lifci-muted); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid #d8c9ba; border-radius: 8px; background: #fff; }

.site-footer { padding: 50px 0 24px; background: #fff; border-top: 1px solid var(--lifci-border); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 40px; padding-bottom: 35px; }
.footer-brand { font-family: Georgia, serif; font-size: 30px; }
.footer-about { max-width: 300px; color: var(--lifci-muted); font-size: 14px; }
.footer-title { margin: 0 0 15px; font-size: 14px; }
.footer-menu { list-style: none; padding: 0; margin: 0; color: var(--lifci-muted); font-size: 14px; }
.footer-menu li + li { margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--lifci-border); color: var(--lifci-muted); font-size: 12px; }
.social-links { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--lifci-border); border-radius: 50%; }
.social-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.page-header { padding: 70px 0 44px; background: #f3e6d9; }
.page-title { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; }
.breadcrumbs { margin: 0 0 13px; color: var(--lifci-muted); font-size: 13px; }
.content-area { padding: 60px 0 90px; }
.entry-content { max-width: 780px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2, .entry-content h3 { font-family: Georgia, serif; line-height: 1.2; }
.entry-content a { color: var(--lifci-primary); text-decoration: underline; text-underline-offset: 3px; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--lifci-border); border-radius: var(--lifci-radius); background: #fff; }
.woocommerce ul.products li.product a img { margin: 0; aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 15px 17px 3px; font-family: Georgia, serif; font-size: 18px; }
.woocommerce ul.products li.product .price { padding: 0 17px 17px; color: var(--lifci-muted); }
.woocommerce ul.products li.product .button { margin: 0 17px 17px; font-size: 13px; min-height: 40px; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product div.images img { border-radius: var(--lifci-radius); }
.woocommerce div.product .product_title { font-family: Georgia, serif; font-size: 42px; line-height: 1.1; }
.woocommerce .quantity .qty { min-height: 43px; border: 1px solid var(--lifci-border); border-radius: 6px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--lifci-primary); }

@media (max-width: 980px) {
    .header-inner { gap: 18px; }
    .primary-navigation ul { gap: 14px; }
    .product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .value-intro { grid-column: 1 / -1; }
    .value-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
    .container { width: min(calc(100% - 28px), var(--lifci-container)); }
    .header-inner { min-height: 70px; justify-content: space-between; }
    .site-title { font-size: 27px; }
    .menu-toggle { display: inline-flex; padding: 8px; }
    .menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
    .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 13px 20px; background: #fff; border-bottom: 1px solid var(--lifci-border); box-shadow: var(--lifci-shadow); }
    .primary-navigation.is-open { display: block; }
    .primary-navigation ul { flex-direction: column; align-items: flex-start; gap: 0; }
    .primary-navigation a { display: block; width: 100%; padding: 10px 0; }
    .primary-navigation .current-menu-item > a::after { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: 52px 0 42px; }
    .hero-image { min-height: 340px; order: -1; }
    .hero-title { font-size: 48px; }
    .section { padding: 55px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .category-card { min-height: 96px; }
    .category-card img { width: 66px; height: 66px; }
    .value-grid, .newsletter-inner, .footer-grid { grid-template-columns: 1fr; }
    .value-item, .value-item:nth-child(3) { border-left: 0; padding-left: 0; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom { flex-direction: column; }
    .woocommerce div.product { grid-template-columns: 1fr; gap: 25px; }
    .woocommerce div.product .product_title { font-size: 34px; }
}
@media (max-width: 460px) {
    .product-grid, .woocommerce ul.products, .category-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 42px; }
    .header-actions { gap: 8px; }
}


.category-placeholder { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: #e7e8d8; color: var(--lifci-primary); }
.category-placeholder svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.lifci-empty-shop { padding: 32px; border: 1px dashed #d8cbbf; border-radius: var(--lifci-radius); background: #fffaf4; color: var(--lifci-muted); text-align: center; }
.lifci-empty-shop h2 { margin: 0 0 8px; font-family: Georgia, serif; color: var(--lifci-ink); }
.lifci-empty-shop p { margin: 0; }
.lifci-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lifci-post-card { overflow: hidden; border: 1px solid var(--lifci-border); border-radius: var(--lifci-radius); background: #fff; }
.lifci-post-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f2ece3; }
.lifci-post-image img { width: 100%; height: 100%; object-fit: cover; }
.lifci-post-content { padding: 20px; }
.lifci-post-content h2 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 24px; line-height: 1.15; }
.lifci-post-content p:not(.breadcrumbs) { color: var(--lifci-muted); }
.archive-description { margin-top: 12px; color: var(--lifci-muted); }
.entry-featured-image { margin-bottom: 30px; }
.entry-featured-image img { width: 100%; max-height: 580px; object-fit: cover; border-radius: var(--lifci-radius); }
.widget-title { font-family: Georgia, serif; }
@media (max-width: 980px) { .lifci-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lifci-post-grid { grid-template-columns: 1fr; } }
