/*
Theme Name: TempBag
Theme URI: http://49.51.241.193:8088
Description: TempBag — full-grain leather goods. Quiet luxury storefront with WhatsApp inquiry.
Author: TempBag
Version: 1.0.0
Text Domain: tempbag
*/

:root {
  --tb-ink: #1C1916;
  --tb-ink-soft: #4A433C;
  --tb-muted: #8E857A;
  --tb-line: #E8E2D8;
  --tb-bg: #FFFFFF;
  --tb-paper: #FFFcf8;
  --tb-card: #FFFFFF;
  --tb-brass: #B08D57;
  --tb-brass-dark: #8A6B3C;
  --tb-hide: #6B3F27;
  --tb-wa: #25D366;
  --tb-wa-dark: #1EBE5A;
  --tb-radius: 22px;
  --tb-radius-sm: 14px;
  --tb-radius-pill: 999px;
  --tb-font-head: "Cormorant Garamond", "Times New Roman", serif;
  --tb-font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --tb-shadow: 0 18px 40px rgba(20, 17, 14, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--tb-font-body);
  color: var(--tb-ink);
  background: var(--tb-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tb-ink); text-decoration: none; }
a:hover { color: var(--tb-brass-dark); }
h1, h2, h3, h4 {
  font-family: var(--tb-font-head);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.12;
  margin: 0 0 .45em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tb-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* announce */
.tb-announce {
  background: var(--tb-ink);
  color: #E8DFD3;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.tb-announce b { color: #E4C48A; font-weight: 500; }

/* header */
.tb-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tb-line);
}
.tb-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.tb-logo {
  font-family: var(--tb-font-head);
  font-size: 30px;
  font-weight: 500;
  color: var(--tb-ink);
  letter-spacing: .04em;
  line-height: 1;
}
.tb-logo small {
  display: block;
  font-family: var(--tb-font-body);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tb-muted);
  margin-top: 5px;
}
.tb-nav ul { display: flex; gap: 4px; list-style: none; }
.tb-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tb-ink-soft);
}
.tb-nav a:hover,
.tb-nav .current-menu-item > a,
.tb-nav .current_page_item > a { color: var(--tb-ink); }

.tb-actions { display: flex; align-items: center; gap: 10px; }
.tb-cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: var(--tb-ink);
}
.tb-cart-link svg { width: 20px; height: 20px; }
.tb-cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px;
  border-radius: 8px; background: var(--tb-ink); color: #fff;
  font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.tb-header-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tb-wa); color: #fff !important;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 18px; border-radius: var(--tb-radius-pill);
}
.tb-header-wa:hover { background: var(--tb-brass-dark); color: #fff !important; }
.tb-header-wa svg { width: 16px; height: 16px; fill: currentColor; }
.tb-nav-toggle { display: none; }

/* buttons */
.tb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tb-ink); color: #fff;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 26px; border: 1px solid var(--tb-ink);
  border-radius: var(--tb-radius-pill);
}
.tb-btn:hover { background: var(--tb-brass-dark); border-color: var(--tb-brass-dark); color: #fff; }
.tb-btn--ghost { background: transparent; color: var(--tb-ink); }
.tb-btn--ghost:hover { background: var(--tb-ink); color: #F3EEE6; }

.tb-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--tb-wa); color: #fff !important;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 14px 22px; border-radius: var(--tb-radius-pill);
}
.tb-wa-btn:hover { background: var(--tb-wa-dark); color: #fff !important; }
.tb-wa-btn svg { width: 18px; height: 18px; fill: currentColor; }
.tb-wa-btn--big { padding: 16px 28px; }
.tb-wa-btn--outline { background: transparent; color: #128C4A !important; border: 1px solid #128C4A; }
.tb-wa-btn--outline:hover { background: var(--tb-wa); color: #fff !important; border-color: var(--tb-wa); }

.tb-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tb-wa); color: #fff !important; font-weight: 600;
  padding: 14px 18px; border-radius: var(--tb-radius-pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  animation: tb-wa-bounce 1.8s ease-in-out infinite;
}
@keyframes tb-wa-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-7px) scale(1.05); }
  60% { transform: translateY(-2px) scale(1.02); }
}
.tb-wa-float:hover { color: #fff !important; }
.tb-wa-float svg { width: 22px; height: 22px; fill: currentColor; }

/* hero */
.tb-hero { padding: 28px 0 8px; }
.tb-hero-inner {
  display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px;
  background: var(--tb-paper); border: 1px solid var(--tb-line);
  border-radius: 28px; overflow: hidden;
}
.tb-hero-copy { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.tb-hero-kicker {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--tb-brass); margin-bottom: 22px;
}
.tb-hero h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 400; margin-bottom: 18px; }
.tb-hero h1 em { font-style: italic; color: var(--tb-hide); }
.tb-hero p { font-size: 17px; color: var(--tb-ink-soft); max-width: 28em; }
.tb-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.tb-hero-media { background: #E7DFD3; overflow: hidden; }
.tb-hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; }

/* sections */
.tb-section { padding: 72px 0; }
.tb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.tb-section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; margin: 0; }
.tb-section-head p { margin: 6px 0 0; color: var(--tb-muted); font-size: 14px; }
.tb-section-link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tb-ink-soft); white-space: nowrap; }

.tb-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tb-cat {
  display: block; background: var(--tb-card); border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius); overflow: hidden;
  transition: transform .2s ease;
}
.tb-cat:hover { transform: translateY(-3px); }
.tb-cat-thumb { aspect-ratio: 4/5; overflow: hidden; background: #E7DFD3; }
.tb-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tb-cat-meta { padding: 16px 16px 18px; }
.tb-cat h3 { font-size: 26px; font-weight: 400; margin: 0 0 4px; }
.tb-cat span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tb-muted); }

.tb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tb-card { background: var(--tb-card); border: 1px solid var(--tb-line); display: flex; flex-direction: column; border-radius: var(--tb-radius); overflow: hidden; }
.tb-card-media { position: relative; display: block; aspect-ratio: 1; background: #E7DFD3; overflow: hidden; }
.tb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tb-card:hover .tb-card-media img { transform: scale(1.03); }
.tb-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--tb-ink); color: #fff;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--tb-radius-pill);
}
.tb-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tb-card-title { font-family: var(--tb-font-head); font-size: 22px; font-weight: 400; margin: 0; line-height: 1.2; }
.tb-card-title a { color: var(--tb-ink); }
.tb-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.tb-card-price { font-size: 14px; letter-spacing: .04em; }
.tb-card-wa { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #128C4A; }

.tb-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tb-value { background: var(--tb-paper); padding: 28px 24px; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); }
.tb-value h3 { font-size: 22px; font-weight: 400; margin: 0 0 8px; }
.tb-value p { margin: 0; font-size: 13.5px; color: var(--tb-muted); }

.tb-wa-band {
  background: var(--tb-ink); color: #E8DFD3;
  padding: 56px 56px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.tb-wa-band h2 { color: #F3EEE6; font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; }
.tb-wa-band p { margin: 0; max-width: 34em; color: #C9BCAB; }

/* footer */
.tb-footer { background: var(--tb-ink); color: #B7AA9B; margin-top: 20px; }
.tb-footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.tb-footer h4 {
  font-family: var(--tb-font-body);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #F3EEE6; margin-bottom: 16px;
}
.tb-footer ul { list-style: none; }
.tb-footer li { margin-bottom: 10px; }
.tb-footer a { color: #B7AA9B; font-size: 14px; }
.tb-footer a:hover { color: #fff; }
.tb-footer-brand .tb-logo { color: #F3EEE6; }
.tb-footer-brand p { font-size: 14px; max-width: 28em; margin-top: 16px; color: #B7AA9B; }
.tb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0 24px; font-size: 12px; color: #7d7266;
}
.tb-footer-wa { margin-top: 16px; }

.tb-page { padding: 56px 0 80px; max-width: 820px; margin: 0 auto; }
.tb-page h1 { font-size: 48px; font-weight: 400; }
.tb-page h2 { font-size: 28px; font-weight: 400; margin-top: 1.6em; }
.tb-prose { color: var(--tb-ink-soft); }
.tb-prose a { text-decoration: underline; text-underline-offset: 3px; }

.tb-faq { margin: 28px 0 8px; border-top: 1px solid var(--tb-line); }
.tb-faq details { border-bottom: 1px solid var(--tb-line); }
.tb-faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0;
  font-family: var(--tb-font-head); font-size: 22px; font-weight: 500;
  color: var(--tb-ink); position: relative; line-height: 1.3;
}
.tb-faq summary::-webkit-details-marker { display: none; }
.tb-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 18px;
  font-family: var(--tb-font-body); font-size: 22px; font-weight: 400;
  color: var(--tb-muted); line-height: 1;
}
.tb-faq details[open] summary::after { content: "–"; }
.tb-faq details[open] summary { color: var(--tb-brass-dark); }
.tb-faq .tb-faq-a { padding: 0 8px 20px 0; color: var(--tb-ink-soft); font-size: 15.5px; }
.tb-faq .tb-faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .tb-hero-inner { grid-template-columns: 1fr; }
  .tb-hero-media img { min-height: 360px; }
  .tb-hero-copy { padding: 40px 28px; }
  .tb-cat-grid, .tb-grid, .tb-values { grid-template-columns: repeat(2, 1fr); }
  .tb-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .tb-container { padding: 0 18px; }
  .tb-nav { display: none; }
  .tb-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--tb-bg); border-bottom: 1px solid var(--tb-line); padding: 12px 18px 20px; }
  .tb-nav.is-open ul { flex-direction: column; }
  .tb-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: transparent; }
  .tb-nav-toggle svg { width: 22px; height: 22px; }
  .tb-header-wa span { display: none; }
  .tb-grid, .tb-cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tb-values { grid-template-columns: 1fr; }
  .tb-wa-band { padding: 36px 22px; }
  .tb-footer-inner { grid-template-columns: 1fr; }
}
