/*
Theme Name: Toptan Harddisk
Description: Toptan Harddisk için model kodu odaklı, WooCommerce uyumlu depolama vitrini.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Author: PC Tedarik
Text Domain: toptan-harddisk
*/
:root{--paper:#f7f7f3;--white:#fff;--ink:#151614;--muted:#545750;--line:#dedfd7;--accent:#ff6b30;--accent-dark:#9e3613;--dark:#171815;--shell:1240px;--radius:18px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}
body:has(.th-nav[open]){overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a63e18;outline-offset:4px}
img{max-width:100%;height:auto;vertical-align:middle}
p,h1,h2,h3{margin:0}
h1,h2,h3{line-height:1.08;letter-spacing:-.04em}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.th-skip,.screen-reader-text{position:absolute;left:-10000px}
.th-skip:focus,.screen-reader-text:focus{left:12px;top:12px;z-index:99;background:white;padding:10px}
.th-shell{width:min(var(--shell), calc(100% - 72px));margin-inline:auto}
.th-header{background:var(--paper);border-bottom:1px solid var(--line)}
.th-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.th-logo{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.055em;white-space:nowrap;line-height:1}
.th-logo strong{font-weight:850}
.th-logo em{color:var(--accent-dark);font-style:normal}
.th-logo-mark{width:33px;height:33px;background:var(--ink);border-radius:8px;position:relative;display:inline-block;flex:none}
.th-logo-mark::before{content:"";position:absolute;border:2px solid var(--accent);width:20px;height:20px;border-radius:50%;inset:6px}
.th-logo-mark::after{content:"";position:absolute;background:var(--accent);width:5px;height:5px;border-radius:50%;left:14px;top:14px}
.th-nav{display:flex;align-items:center;justify-content:center;gap:27px;font-weight:650;font-size:13px}
.th-nav a:hover,.th-footer a:hover,.th-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.th-header-actions{display:flex;align-items:center;gap:15px}
.th-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:10px 19px;border-radius:8px;border:1px solid transparent;background:var(--ink);color:white;font-weight:700;line-height:1.15}
.th-button:hover{background:#333730}
.th-button-small{min-height:41px;padding-inline:15px;font-size:13px}
.th-button-accent{background:var(--accent);color:#18130f}
.th-button-accent:hover{background:#ff884f}
.th-button-light{background:transparent;border-color:#888980;color:#fff}
.th-button-light:hover{background:#36352e}
.th-cart{white-space:nowrap;font-weight:700;font-size:13px}
.th-menu{display:none}
.th-home{padding-block:26px 0}
.th-hero{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:474px;background:#1d1c19;color:white;border-radius:var(--radius)}
.th-hero-art{position:absolute;inset:0 0 0 auto;width:73%;height:100%;object-fit:cover;object-position:68% center;z-index:-2}
.th-hero::after{content:"";z-index:-1;position:absolute;inset:0;background:linear-gradient(90deg,#1b1c18 0%,#1b1c18 27%,rgba(27,28,24,.92) 36%,rgba(27,28,24,.39) 56%,transparent 78%)}
.th-hero-copy{padding:52px 0 52px 57px;max-width:690px}
.th-kicker{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-dark);margin-bottom:14px}
.th-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}
.th-hero .th-kicker{color:#ffad83}
.th-hero h1{font-weight:800;font-size:clamp(43px,5.45vw,78px);letter-spacing:-.075em}
.th-hero h1 span{display:block;color:var(--accent)}
.th-hero p:not(.th-kicker){margin-top:21px;max-width:385px;color:#e0dfd7;font-size:16px}
.th-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}
.th-search-panel{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:white;display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:25px;padding:17px 20px 17px 25px}
.th-search-title{font-size:17px;font-weight:800;letter-spacing:-.022em;display:block}
.th-search-note{font-size:12px;color:var(--muted)}
.th-search{display:flex;gap:8px;align-items:stretch}
.th-search input[type=search]{min-width:0;flex:1;border:1px solid #dbded5;border-radius:8px;background:#fafaf7;padding:11px 13px;color:var(--ink)}
.th-search .th-button{min-height:44px}
.th-section{padding-top:55px}
.th-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:19px}
.th-section-head h2,.th-offer h2{font-size:clamp(29px,3.5vw,47px)}
.th-section-head p,.th-offer p{color:var(--muted);margin-top:8px}
.th-text-link{flex:none;font-size:13px;font-weight:750;display:inline-flex;gap:8px;align-items:center;color:var(--accent-dark)}
.th-grid{display:grid;gap:12px}
.th-drive-categories .th-section-head{align-items:center;margin-bottom:24px}
.th-drive-categories .th-section-head h2{font-size:clamp(28px,3.3vw,43px)}
.th-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.th-category-card{
  --drive-bg:#eae8e3;
  --drive-halo:#fcfbf8;
  --drive-edge:#d8d5ce;
  --drive-ink:#494943;
  display:grid;
  grid-template-columns:45fr 55fr;
  grid-template-areas:"copy photo";
  align-items:center;
  min-width:0;
  min-height:216px;
  isolation:isolate;
  overflow:hidden;
  border:1px solid var(--drive-edge);
  border-radius:16px;
  background:radial-gradient(ellipse at 78% 39%,var(--drive-halo) 0,transparent 72%),var(--drive-bg);
  transition:border-color .22s ease,box-shadow .22s ease;
}
.th-category-card[data-category="nas-diskleri"]{--drive-bg:#f0e1de;--drive-halo:#fcf5f3;--drive-edge:#e7d4cf;--drive-ink:#83322e}
.th-category-card[data-category="kamera-diskleri"]{--drive-bg:#e9e2f1;--drive-halo:#faf6fe;--drive-edge:#ddd2e8;--drive-ink:#634482}
.th-category-card[data-category="sunucu-diskleri"]{--drive-bg:#e0e8f0;--drive-halo:#f5f9fc;--drive-edge:#cedbe7;--drive-ink:#345475}
.th-category-card[data-category="masaustu-diskleri"]{--drive-bg:#e3ebdf;--drive-halo:#f8fbf6;--drive-edge:#d4e0cf;--drive-ink:#3e6138}
.th-category-card[data-category="dizustu-diskleri"]{--drive-bg:#eee3d9;--drive-halo:#fff9f3;--drive-edge:#e5d8ca;--drive-ink:#784a31}
.th-category-media{
  grid-area:photo;display:grid;place-items:center;padding:8px 8px 8px 0;
  min-width:0;
}
.th-category-media img{
  display:block;width:min(100%,226px);height:auto;aspect-ratio:1;object-fit:contain;
  filter:drop-shadow(5px 9px 6px #2426302a);transition:transform .23s ease;
}
.th-category-card:is(:hover,:focus-visible){
  border-color:var(--drive-ink);box-shadow:0 8px 18px #20181810;
}
.th-category-card:is(:hover,:focus-visible) .th-category-media img{transform:translateY(-3px) scale(1.035)}
.th-category-body{grid-area:copy;min-width:0;padding:20px 0 20px 22px}
.th-category-card h3{font-size:clamp(19px,1.9vw,26px);letter-spacing:-.04em;line-height:1.12}
.th-category-body p{margin-top:7px;color:#494946;font-size:12px;line-height:1.4}
.th-category-arrow{
  display:grid;place-items:center;width:31px;height:31px;margin-top:15px;
  border:1px solid var(--drive-edge);border-radius:50%;background:#ffffff8c;
  color:var(--drive-ink);font-size:16px;line-height:1;transition:background .2s,color .2s;
}
.th-category-card:is(:hover,:focus-visible) .th-category-arrow{color:white;background:var(--drive-ink)}
.th-brand-card:hover,.th-item:hover,.th-post-card:hover{border-color:#d06539}
.th-category-credits{margin-top:13px;color:var(--muted);font-size:12px}
.th-category-credits summary{width:fit-content;cursor:pointer}
.th-category-credits a{text-decoration:underline;text-underline-offset:2px}
.th-category-credits ul{margin-block:7px;padding-left:19px}
.th-category-credits li{margin-block:3px}
@media(max-width:960px){.th-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){
  .th-category-grid{gap:10px}
  .th-category-card{grid-template-columns:1fr;grid-template-areas:"photo" "copy";grid-template-rows:1fr auto;min-height:0}
  .th-category-media{padding:5px 11px 0}
  .th-category-media img{width:100%}
  .th-category-body{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:6px;padding:8px 11px 13px}
  .th-category-card h3{font-size:16px}
  .th-category-body p{display:none}
  .th-category-arrow{width:25px;height:25px;margin:0;font-size:14px}
}
.th-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.th-item{border:1px solid var(--line);border-radius:13px;background:white;display:flex;flex-direction:column;overflow:hidden}
.th-item-image{display:flex;align-items:center;justify-content:center;min-height:140px;height:153px;background:#f0f0ea;overflow:hidden;font-size:35px;font-weight:800;letter-spacing:-.08em;color:#464943}
.th-item-image img{width:100%;height:100%;object-fit:contain}
.th-item-image .th-product-art{object-fit:cover;object-position:center}
.th-item-copy{padding:17px;display:flex;flex-direction:column;gap:8px;flex:1}
.th-item-brand{font-size:11px;color:var(--accent-dark);font-weight:800;text-transform:uppercase;letter-spacing:.065em}
.th-item h3{font-size:20px;line-height:1.2}
.th-item-spec{font-size:12px;color:var(--muted)}
.th-item-copy code{font:600 12px ui-monospace,monospace;color:#3e413b;background:#f1f1ec;align-self:flex-start;padding:3px 7px;border-radius:4px;overflow-wrap:anywhere}
.th-item-copy .th-text-link{margin-top:auto;padding-top:6px}
.th-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.th-brand-card{background:white;border:1px solid var(--line);border-radius:11px;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 14px;font-weight:800;font-size:16px;line-height:1.15}
.th-brand-card span:last-child{color:var(--accent-dark);font-size:15px}
.th-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.th-post-card{background:white;border:1px solid var(--line);border-radius:12px;padding:19px;display:flex;flex-direction:column;gap:9px;min-height:145px}
.th-post-card h3{font-size:19px;line-height:1.2}
.th-post-card p{font-size:13px;color:var(--muted)}
.th-post-card .th-text-link{margin-top:auto}
.th-offer-banner{background:#f2e6d9;border:1px solid #e7d9cc;border-radius:var(--radius);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px;margin:56px auto}
.th-footer{background:#1e201c;color:#efeee7;padding:40px 0}
.th-footer-grid{display:flex;justify-content:space-between;align-items:start;gap:29px}
.th-footer .th-logo em{color:var(--accent)}
.th-footer p{margin-top:8px;color:#cfcec3;font-size:13px}
.th-footer nav{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}
.th-footer small{display:block;color:#cfcec3;margin-top:24px;font-size:12px}
.th-content{padding-block:42px 65px;min-height:55vh}
.th-content h1{font-size:clamp(32px,4.1vw,56px);line-height:1.12;margin-bottom:14px}
.th-content .th-intro{color:var(--muted);margin:0 0 24px;max-width:65ch}
.th-content-wrap{max-width:790px}
.th-prose{overflow-wrap:anywhere}
.th-prose a{text-decoration:underline;text-underline-offset:3px}
.th-prose h2,.th-prose h3{margin-block:25px 10px}
.th-prose p,.th-prose ul,.th-prose ol,.th-prose figure{margin-block:12px}
.th-post-date{display:block;color:var(--muted);margin-bottom:15px}
.th-blog-cover{border-radius:12px;margin-bottom:15px}
.th-pagination{margin-top:24px;display:flex;flex-wrap:wrap;gap:6px}
.th-pagination .page-numbers{border:1px solid var(--line);border-radius:6px;padding:6px 12px}
.th-pagination .current{background:var(--ink);color:white}
.th-filters,.th-form{display:grid;gap:14px}
.th-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;margin:17px 0 23px;padding:14px;border:1px solid var(--line);border-radius:10px;background:white}
.th-form{max-width:680px;background:white;border:1px solid var(--line);border-radius:12px;padding:23px}
.th-filters label,.th-form label{display:grid;gap:3px;font-weight:650;font-size:13px}
.th-filters input,.th-filters select,.th-form input,.th-form textarea{width:100%;min-width:0;padding:9px;border:1px solid #bfc2b7;border-radius:6px;color:var(--ink);background:#fbfbf9}
.th-form textarea{resize:vertical}
.th-form .th-button{justify-self:start}
.th-form-note,.th-alert{font-size:13px;color:var(--muted)}
.th-alert{background:#fff2e7;border-radius:7px;margin-bottom:14px;padding:12px;color:var(--ink)}
.th-honeypot{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.th-content .woocommerce-products-header__title{font-size:clamp(31px,4vw,54px)}
.th-content .woocommerce-result-count,.th-content .woocommerce-ordering{font-size:13px}
.woocommerce ul.products li.product{padding:12px;border:1px solid var(--line);border-radius:11px;background:white}
.woocommerce ul.products li.product a img{margin-bottom:9px;border-radius:7px}
.woocommerce ul.products li.product a .woocommerce-loop-product__title{font-size:1rem;line-height:1.25}
.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce #respond input#submit{background:var(--ink);color:white;border-radius:7px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#343832;color:white}
.th-model-code{font:650 13px ui-monospace,monospace;display:block;margin:.35em 0 .65em;overflow-wrap:anywhere}
.th-buy-quote{margin:14px 0}
.th-product-source{font-size:13px}
.th-back{display:inline-block;margin-bottom:10px}
@media(max-width:960px){
.th-shell{width:calc(100% - 40px)}
.th-nav{gap:14px}.th-header-inner{gap:16px}.th-header-actions{gap:9px}
.th-hero{min-height:420px}.th-hero-copy{padding-left:36px}
.th-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
.th-nav{display:none}.th-menu{display:block;position:relative}.th-menu summary{list-style:none;cursor:pointer;font-weight:700;font-size:13px}.th-menu summary::-webkit-details-marker{display:none}
.th-menu nav{position:absolute;right:0;top:calc(100% + 14px);z-index:10;min-width:177px;background:white;border:1px solid var(--line);border-radius:9px;padding:7px 0;box-shadow:0 5px 20px #0002}
.th-menu nav a{display:block;padding:9px 13px;font-weight:650}.th-menu nav a:hover{background:var(--paper)}.th-cart{display:none}
.th-hero{min-height:390px}.th-hero-copy{padding-left:26px}.th-hero-art{width:95%;object-position:70% center;opacity:.65}
.th-hero::after{background:linear-gradient(90deg,#1b1c18 0%,rgba(27,28,24,.86) 35%,transparent 100%)}
.th-brand-grid,.th-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.th-section-head h2,.th-offer h2{font-size:32px}
.th-search-panel{grid-template-columns:1fr;gap:8px}
.th-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.th-footer-grid{flex-direction:column}
}
@media(max-width:460px){
.th-shell{width:calc(100% - 28px)}
.th-header-inner{min-height:65px}.th-logo{font-size:19px}.th-logo-mark{width:29px;height:29px}.th-logo-mark::before{inset:5px;width:19px;height:19px}.th-logo-mark::after{inset:12px}
.th-header-actions .th-button{display:none}.th-home{padding-top:12px}
.th-hero-copy{padding:28px 19px}.th-hero h1{font-size:45px}.th-hero p:not(.th-kicker){font-size:14px;max-width:280px}
.th-hero-art{width:100%;object-position:74% center;opacity:.56}
.th-section{padding-top:37px}.th-section-head{align-items:start;flex-direction:column;gap:5px}
.th-drive-categories .th-section-head{align-items:start}
.th-post-grid{grid-template-columns:1fr}.th-item h3{font-size:16px}.th-item-copy{padding:12px}
.th-offer-banner{align-items:start;flex-direction:column;padding:20px;margin:38px auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.th-category-card,.th-category-media img,.th-category-arrow{transition:none}}
.th-content .woocommerce-breadcrumb{color:var(--muted)}
.th-content .woocommerce-breadcrumb a{color:var(--accent-dark)}
.th-post-card time{font-size:12px;color:var(--muted)}
