/*
Theme Name: SosyalVibe İç Giyim
Theme URI: https://sosyalvibe.com
Author: SosyalVibe
Description: İç giyim mağazası. Açık vitrin, kategori menüsü, ürün ızgarası.
Version: 1.0.0
Text Domain: sv-icgiyim
*/
:root {
  --ink: #1c1c1c;
  --muted: #6d6862;
  --line: #e6e1da;
  --paper: #f7f4ef;
  --white: #fff;
  --rose: #9c3d52;
  --sale: #c23a2e;
  --good: #2d4a32;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 15px/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.ticker {
  background: var(--ink);
  color: #f4efe8;
  overflow: hidden;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 28s linear infinite;
  padding: 8px 0;
}
.ticker-group { display: flex; gap: 48px; padding-right: 48px; }
.ticker-group span { white-space: nowrap; }
.ticker b { color: #f0c7cf; font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }
.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.header {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px 0 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo strong { font-size: 22px; letter-spacing: 0.16em; font-weight: 650; }
.logo span { margin-top: 6px; font-size: 12px; letter-spacing: 0.18em; color: var(--rose); text-transform: uppercase; }
.search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.search input { flex: 1; border: 0; background: transparent; padding: 12px 16px; font: inherit; outline: none; }
.search button { border: 0; background: var(--ink); color: white; padding: 0 18px; cursor: pointer; }
.tools { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.tool {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
}
.tool svg { width: 24px; height: 24px; display: block; }
.tool i {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ink);
  color: white;
  font-style: normal;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.nav {
  background: var(--ink);
  color: #f6f3ee;
}
.nav .wrap { display: flex; gap: 8px; overflow: auto; }
.nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.nav a img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0;
}
.nav a:hover { color: #f0c7cf; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 28px 0 8px; }
.cat {
  background: var(--paper);
  border-radius: 16px;
  min-height: 0;
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.cat img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 16px 0 0;
  margin: 0 0 12px;
}
.cat i, .cat strong { padding: 0 14px; }
.cat strong { font-size: 16px; letter-spacing: -0.02em; }
.section { padding: 28px 0 10px; }
.section h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -0.03em; font-weight: 600; }
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 8px !important;
  padding: 0 !important;
  clear: both;
}
ul.products::before,
ul.products::after { display: none !important; }
ul.products li.product {
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  position: relative;
  color: inherit;
}
ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper);
  margin: 0 !important;
}
ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 !important;
  padding: 14px 14px 0;
  min-height: 56px;
}
ul.products li.product .price {
  display: block;
  padding: 8px 14px 0;
  margin: 0 !important;
  min-height: 28px;
}
ul.products li.product > .button,
ul.products li.product .woosc-btn,
ul.products li.product .woosq-btn {
  display: block;
  width: calc(100% - 28px);
  margin: 8px 14px 0 !important;
  text-align: center;
  box-sizing: border-box;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}
ul.products li.product .woosc-btn,
ul.products li.product .woosq-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
ul.products li.product > .button { margin-top: auto !important; }
ul.products li.product .tinv-wraper {
  margin: 8px 14px 0;
}
ul.products li.product .tinvwl_add_to_wishlist_button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
ul.products li.product .tinvwl-tooltip,
ul.products li.product .tinv-wishlist-clear { display: none !important; }
span.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  background: var(--sale) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  font-weight: 600;
}
.pad h3, ul.products .woocommerce-loop-product__title { font-size: 15px !important; margin: 0 0 6px; font-weight: 600; }
.price, .pad .price { color: var(--ink); font-weight: 650; }
.price del, del { color: var(--muted); font-weight: 450; margin-right: 6px; }
.price ins { text-decoration: none; }
.btn, a.button, button.button, .single_add_to_cart_button {
  display: inline-block;
  background: var(--ink) !important;
  color: white !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
  margin-top: 10px;
  font-size: 13px !important;
}
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 28px 0 36px; }
.trust div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--paper); }
.trust strong { display: block; }
.trust span { color: var(--muted); font-size: 13px; }
.footer { background: #141414; color: #d9d2c8; padding: 36px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.footer h4 { margin: 0 0 10px; color: white; font-weight: 600; }
.footer a { display: block; padding: 3px 0; color: #c9c2b8; }
.footer p { color: #b7b0a6; }
.copy { border-top: 1px solid #2a2a2a; margin-top: 22px; padding-top: 12px; font-size: 12px; color: #8d877e; }
.shop-main { padding: 28px 0 48px; }
.woocommerce-result-count, .woocommerce-ordering { margin-bottom: 12px; }
@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; gap: 12px; }
  .search { grid-column: 1 / -1; }
  .tools { grid-column: 2; grid-row: 1; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  ul.products, .trust, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; }
  .cat strong { font-size: 13px; }
  .cat i { font-size: 10px; letter-spacing: 0.08em; }
  .cat img { margin-bottom: 8px; }
  .nav .wrap {
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .nav a { scroll-snap-align: start; padding: 12px 16px; }
  .trust, .footer-grid, #customer_login { grid-template-columns: 1fr; }
  ul.products { grid-template-columns: 1fr 1fr; }
}
.shop-main h1 {
  margin: 0 0 18px;
  font-size: 32px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
#customer_login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#customer_login .col-1,
#customer_login .col-2 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
#customer_login h2 { margin: 0 0 16px; font-size: 22px; font-weight: 600; }
.woocommerce form .form-row {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
}
.woocommerce form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; }
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
}
.woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.woocommerce-form-login .form-row:last-of-type,
.woocommerce-form-register .form-row:last-of-type { margin-bottom: 0; }
.woocommerce-form-login__submit,
.woocommerce-form-register__submit { margin-top: 12px !important; }
.lost_password { margin: 14px 0 0; font-size: 13px; }
.lost_password a { color: var(--rose); }
.woocommerce-privacy-policy-text { color: var(--muted); font-size: 13px; line-height: 1.5; }
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}
.woocommerce-MyAccount-navigation a {
  display: block;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.woocommerce-MyAccount-navigation .is-active a {
  background: var(--ink);
  color: white;
}
.woocommerce-Address {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 16px;
  margin: 0 0 12px;
}
.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.woocommerce-Address-title h3 { margin: 0; }
.woocommerce-Address .edit,
.woocommerce-address-fields button,
.woocommerce-EditAccountForm button {
  display: inline-block;
  background: var(--ink);
  color: white !important;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.woocommerce-Address address {
  margin: 12px 0 0;
  font-style: normal;
  color: var(--muted);
}
.account-contact { margin: 22px 0 12px; font-size: 18px; font-weight: 600; }
@media (max-width: 800px) {
  #customer_login { grid-template-columns: 1fr; }
}
