/*
Theme Name: Takicity Child
Template: blocksy
Version: 0.1.0
Description: Takicity presentation starter for Blocksy and WooCommerce.
Text Domain: takicity-child
*/
:root{--tc-ink:#24211f;--tc-cream:#f6f1e9;--tc-paper:#fff;--tc-gold:#8a6b43;--tc-line:#e5dfd7;--tc-serif:Georgia,'Times New Roman',serif;--tc-radius:3px}
.tc-home{color:var(--tc-ink);max-width:1360px;margin:0 auto;padding:12px clamp(0px,2vw,24px) 40px}
.tc-home a{text-decoration:none}.tc-home a:focus-visible,.tc-mobile-nav a:focus-visible{outline:2px solid var(--tc-gold);outline-offset:3px}
.tc-hero{display:grid;grid-template-columns:1fr 1fr;background:var(--tc-cream);min-height:450px;overflow:hidden;border-radius:var(--tc-radius)}
.tc-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(24px,5vw,76px)}
.tc-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:600;color:var(--tc-gold)}
.tc-home .tc-hero h1{font:400 clamp(38px,5vw,74px)/1.06 var(--tc-serif);letter-spacing:-.035em;margin:22px 0 15px;color:var(--tc-ink)}
.tc-hero p{font-size:16px;color:#625c56;margin:0 0 28px}.tc-button{display:inline-flex;align-items:center;gap:28px;padding:15px 21px;background:var(--tc-ink);color:#fff!important;font-size:14px;border-radius:var(--tc-radius)}
.tc-button:hover{background:#4b4239}.tc-hero-image{display:grid;place-items:center;background:#ebe3d8;min-width:0;overflow:hidden}.tc-hero-image img{width:100%;height:100%;max-height:590px;object-fit:contain;display:block}.tc-placeholder{font:26px var(--tc-serif);letter-spacing:.2em;color:var(--tc-gold)}
.tc-section{padding-top:clamp(34px,6vw,76px)}.tc-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:20px}.tc-home h2{font:400 clamp(25px,3vw,40px)/1.15 var(--tc-serif);margin:0;color:var(--tc-ink)}.tc-section-heading>a,.tc-note>a{font-size:13px;color:var(--tc-ink);text-decoration:underline;text-underline-offset:4px}
.tc-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tc-category{display:flex;flex-direction:column;background:var(--tc-cream);color:var(--tc-ink);overflow:hidden;border-radius:var(--tc-radius);min-width:0}.tc-category img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f4eee5}.tc-category>span{display:flex;justify-content:space-between;gap:6px;padding:14px;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.tc-note{margin-top:55px;padding:40px 20px;background:var(--tc-cream);text-align:center}.tc-note h2{margin:10px 0 16px}
/* Keep WooCommerce / Blocksy functionality and native variation, checkout, sale and cart logic. */
.woocommerce ul.products li.product,.tc-home ul.products li.product{min-width:0}.woocommerce ul.products li.product .woocommerce-loop-product__title,.tc-home ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.4;font-weight:500;color:var(--tc-ink);overflow-wrap:anywhere}.woocommerce ul.products li.product .price,.tc-home ul.products li.product .price{color:var(--tc-ink);font-weight:600;font-size:15px}.woocommerce ul.products li.product .price del{opacity:.75;font-weight:400}.woocommerce ul.products li.product .price ins{text-decoration:none}.woocommerce ul.products li.product .button,.tc-home ul.products li.product .button{border-radius:var(--tc-radius)}
.single-product .product .product_title{font-family:var(--tc-serif);font-weight:400;line-height:1.15;color:var(--tc-ink)}.single-product .summary .price{color:var(--tc-ink);font-weight:600}.single-product .summary .single_add_to_cart_button{border-radius:var(--tc-radius);min-height:48px}.single-product .summary .price del{opacity:.7}
.tc-mobile-nav{display:none}
@media(max-width:767px){.tc-home{padding:0 0 26px}.tc-hero{grid-template-columns:1fr;min-height:0}.tc-hero-copy{padding:32px 24px}.tc-home .tc-hero h1{font-size:42px;margin:15px 0 10px}.tc-hero-image{height:clamp(210px,65vw,340px)}.tc-hero-image img{max-height:100%;width:100%;object-fit:contain}.tc-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-category>span{padding:10px;font-size:13px}.tc-section-heading{margin-bottom:14px}.tc-home .products,.woocommerce.archive .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tc-note{margin-top:34px;padding:28px 16px}.tc-mobile-nav{position:fixed;z-index:90;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--tc-line);padding:8px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #00000008}.tc-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;color:var(--tc-ink);font-size:11px;text-decoration:none}.tc-mobile-nav svg{width:22px;height:22px}.tc-nav-active{padding-bottom:calc(70px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:no-preference){.tc-button,.tc-category{transition:background-color .18s ease,color .18s ease}.tc-category:hover{background:#eae0d3}}


/* Deneme ana sayfas覺 */
body.page-id-120, .page-id-120 #main { background: #fff; }
.page-id-120 #post-120 > .hero-section { display: none; }
.page-id-120 #main > .ct-container-full { padding-top: 12px; }
.page-id-120 #post-120 .tc-home { width: 100%; max-width: none; box-sizing: border-box; padding: 0 clamp(10px, 1.5vw, 24px); }
.page-id-120 #header-menu-1 .page-item-2 { display: none; }

/* Catalog cards: WooCommerce archives and the homepage's new arrivals. */
:is(.tc-new, .woocommerce.archive) ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 26px);
    list-style: none;
}
:is(.tc-new, .woocommerce.archive) ul.products::before,
:is(.tc-new, .woocommerce.archive) ul.products::after { content: none; }
:is(.tc-new, .woocommerce.archive) ul.products > li.product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 12px;
    background: #fff;
    border: 1px solid #ecebe8;
    border-radius: 4px;
    overflow: hidden;
    text-align: start;
    box-shadow: none;
}
:is(.tc-new, .woocommerce.archive) ul.products > li.product > figure {
    position: relative;
    margin: 0;
    aspect-ratio: 1;
    background: #f7f6f4;
}
:is(.tc-new, .woocommerce.archive) li.product > figure .ct-media-container,
:is(.tc-new, .woocommerce.archive) li.product > figure .ct-media-container img {
    display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover;
}
:is(.tc-new, .woocommerce.archive) ul.products li.product figure .onsale {
    position: absolute; inset: 9px auto auto 9px; z-index: 2;
    min-width: 0; min-height: 0; margin: 0; padding: 5px 8px;
    background: #252322; color: #fff; border-radius: 2px;
    font-weight: 600; font-size: 11px; line-height: 1.25;
}
:is(.tc-new, .woocommerce.archive) ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; margin: 12px 12px 6px; padding: 0;
    height: 2.8em; font-size: 15px; line-height: 1.4; font-weight: 500; color: #191919;
}
:is(.tc-new, .woocommerce.archive) ul.products li.product .price {
    display: block; margin: 0 12px 8px; color: #191919; font-weight: 600; font-size: 15px;
}
:is(.tc-new, .woocommerce.archive) li.product .sale-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
}
:is(.tc-new, .woocommerce.archive) li.product .price del {
    color: #666; opacity: 1; font-size: .85em; font-weight: 400;
}
:is(.tc-new, .woocommerce.archive) li.product .price ins { text-decoration: none; font-weight: 650; }
:is(.tc-new, .woocommerce.archive) li.product > :is(.entry-meta,.ct-woo-card-actions) {
    margin-inline: 12px;
}
:is(.tc-new, .woocommerce.archive) li.product > .ct-woo-card-actions { margin-top: auto; }
@media (max-width: 767px) {
    :is(.tc-new, .woocommerce.archive) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
    :is(.tc-new, .woocommerce.archive) ul.products li.product .woocommerce-loop-product__title { font-size: 14px; margin-inline: 9px; }
    :is(.tc-new, .woocommerce.archive) ul.products li.product .price { margin-inline: 9px; font-size: 14px; }
}

/* Takicity – WooCommerce ödeme sayfası */
body.woocommerce-checkout:has(.wp-block-woocommerce-checkout) {
    background: #fff;
    color: #171717;
    --theme-link-initial-color: #202020;
    --theme-link-hover-color: #000;
    --theme-button-background-initial-color: #171717;
    --theme-button-background-hover-color: #303030;
}
.woocommerce-checkout main article:has(.wp-block-woocommerce-checkout) {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}
.woocommerce-checkout article:has(.wp-block-woocommerce-checkout) .hero-section {
    padding: clamp(18px, 3vw, 40px) 0 14px;
    background: #fff;
}
.woocommerce-checkout article:has(.wp-block-woocommerce-checkout) .entry-header {
    margin: 0;
    text-align: left;
}
.woocommerce-checkout article:has(.wp-block-woocommerce-checkout) .page-title {
    color: #141414;
    font-size: clamp(29px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -.035em;
}
.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout {
    margin: 0 auto 36px;
    width: 100%;
    max-width: none;
    padding: 0;
}
.woocommerce-checkout .wc-block-checkout { color: #181818; align-items: start; }
.woocommerce-checkout .wc-block-checkout :is(.wc-block-checkout__main,.wc-block-checkout__sidebar) {
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step {
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid #e6e6e6;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-title {
    color: #171717;
    letter-spacing: -.02em;
    font-weight: 600;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step__description {color: #555;}
.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,textarea) {
    background-color: #fff;
    color: #171717;
    border-color: #aaa;
    border-radius: 4px;
    box-shadow: none;
}
.woocommerce-checkout .wc-block-checkout :is(input,select,textarea,button,a):focus-visible {
    outline: 2px solid #181818;
    outline-offset: 2px;
}
.woocommerce-checkout .wc-block-checkout .has-error input {border-color: #a12626;}
.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-checkout-place-order-button,.wc-block-components-totals-coupon__button) {
    background: #161616;
    border-radius: 3px;
    border: 1px solid #161616;
    box-shadow: none;
    color: #fff;
    min-height: 46px;
    font-weight: 600;
}
.woocommerce-checkout .wc-block-checkout button:disabled {cursor: not-allowed;}
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding: clamp(14px, 2vw, 24px);
}
.woocommerce-checkout .wc-block-components-totals-footer-item {font-variant-numeric: tabular-nums;}
@media (min-width: 783px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
        gap: clamp(28px, 4vw, 58px);
    }
    .woocommerce-checkout .wc-block-checkout__main {grid-column: 1;grid-row: 1;}
    .woocommerce-checkout .wc-block-checkout__sidebar {grid-column: 2;grid-row: 1;}
}
@media (max-width: 782px) {
    .woocommerce-checkout main article:has(.wp-block-woocommerce-checkout) {width: calc(100% - 28px);}
    .woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {display: flex;flex-direction: column;gap: 14px;}
    .woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar {position: static;}
    .woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step {margin-bottom: 16px;}
    .woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button {width: 100%;}
}

/* Takicity mağaza genelinde tipografi, renk ve aralıklar */
body:not(.wp-admin) {
    --tc-type: system-ui, -apple-system, "Segoe UI", sans-serif;
    --tc-serif: var(--tc-type);
    --theme-font-family: var(--tc-type);
    --theme-button-background-initial-color: #202020;
    --theme-button-background-hover-color: #383838;
    font-family: var(--tc-type);
}
:is(#main, #header, #tk-footer) :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea),
#main .tc-home :is(h1,h2), #main .product .product_title {
    font-family: var(--tc-type);
}
#main :is(.button,.wp-block-button__link,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button),
#main .products .ct-woo-card-actions .button {
    background-color: #202020;
    color: #fff;
}
#main :is(.button,.wp-block-button__link):hover,
#main .products .ct-woo-card-actions .button:hover { background-color: #383838; }
#main :is(.entry-meta,.posted_in,.product-categories,.wc-block-product-categories-list) a,
#main .tkc-grid .tkc-card { color: #343434; }
#main :is(.entry-meta,.posted_in,.product-categories) a:hover { color: #111; text-decoration: underline; }
#main .tc-home .tc-section { padding-top: clamp(24px,3.2vw,46px); }
#main .tc-section-heading { margin-bottom: clamp(12px,1.4vw,18px); }
#main > :is(.ct-container,.ct-container-full)[data-vertical-spacing] {
    --theme-content-vertical-spacing: clamp(18px,2.4vw,34px);
}
#main .products > li.product .woocommerce-loop-product__title {
    font-family: var(--tc-type);
    line-height: 1.4;
    min-height: 2.8em;
}
#main .products > li.product .price {
    line-height: 1.4;
    min-height: 1.4em;
    font-variant-numeric: tabular-nums;
}
#main .products > li.product > .ct-woo-card-actions { margin-block-start: auto; }
#main .products .ct-woo-card-actions .button {
    justify-content: center;
    min-height: 42px;
    width: 100%;
    text-align: center;
}
.tk-detail-gallery .tk-detail-track { scrollbar-width: none; }
.tk-detail-gallery .tk-detail-track::-webkit-scrollbar { display: none; }
body button.cookieadmin_re_consent { background: #252525 !important; filter: grayscale(1) !important; }
body .cookieadmin_re_consent img { filter: grayscale(1) brightness(0) invert(1) !important; }
