:root {
  --ink: #121212;
  --muted: #6b655c;
  --line: #e5e0d7;
  --paper: #f4f1eb;
  --card: #ffffff;
  --header: 108px;
  --wrap: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body.tgm-site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.tgm-site a {
  color: var(--ink);
  text-decoration: none;
}

body.tgm-site .tgm-hero,
body.tgm-site .tgm-hero h1,
body.tgm-site .tgm-hero p,
body.tgm-site .tgm-archive-hero,
body.tgm-site .tgm-archive-hero h1,
body.tgm-site .tgm-archive-hero p {
  color: #fff;
}

body.tgm-site h1,
body.tgm-site h2,
body.tgm-site h3,
.tgm-cat-name,
.related.products > h2,
.upsells.products > h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

.tgm-sr,
.tgm-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tgm-skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  background: #fff;
}

.tgm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.tgm-header-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.tgm-logo {
  display: flex;
  flex: 0 0 auto;
}

.tgm-logo img {
  display: block;
  height: 78px;
  width: auto;
}

.tgm-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}

.tgm-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tgm-nav a:hover { color: #9a1b16; }

.tgm-header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 220px;
}

.tgm-header-search input[type="search"] {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  width: 180px;
  font: 500 14px/1.2 Manrope, sans-serif;
  color: var(--ink);
}

body.tgm-site .tgm-header-search button,
body.tgm-site .tgm-hero-search button,
body.tgm-site button.tgm-menu-btn {
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 700 12px/1 Manrope, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
}

body.tgm-site button.tgm-menu-btn { display: none; }

.tgm-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tgm-cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0;
}

.tgm-hero {
  position: relative;
  min-height: clamp(440px, 38vw, 560px);
  display: flex;
  align-items: flex-end;
  background: #070707;
  overflow: hidden;
  color: #fff;
}

.tgm-hero-photo,
.tgm-hero-shade,
.tgm-archive-photo,
.tgm-archive-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tgm-hero-photo,
.tgm-archive-photo {
  object-fit: cover;
  object-position: center;
}

.tgm-hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 36%, rgba(0, 0, 0, 0.12) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
}

.tgm-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
  padding: 64px 0 52px;
}

.tgm-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tgm-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(64px, 8vw, 104px);
  color: #fff;
}

.tgm-hero-lead {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.tgm-hero-search {
  display: flex;
  max-width: 560px;
  margin-top: 28px;
  background: #fff;
}

.tgm-hero-search input[type="search"] {
  flex: 1;
  border: 0;
  padding: 16px 18px;
  font: 500 16px/1.2 Manrope, sans-serif;
  color: var(--ink);
  background: transparent;
}

.tgm-section {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
  padding: 64px 0 12px;
}

.tgm-section-tight { padding-top: 36px; padding-bottom: 72px; }

.tgm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tgm-section-head h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 58px);
}

.tgm-section-head a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.tgm-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tgm-cat {
  color: var(--ink);
  min-height: 124px;
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tgm-cat-name { font-size: 34px; }

.tgm-cat-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tgm-cat:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tgm-cat:hover .tgm-cat-count { color: #c8c2b8; }

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

ul.products::before,
ul.products::after { display: none !important; }

ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0;
}

.tgm-card {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tgm-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #f7f5f1;
  padding: 16px;
}

.tgm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tgm-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  flex: 1;
}

.tgm-card-title {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}

.tgm-card-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tgm-card .price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.tgm-card .price del,
.tgm-card .price ins { font-weight: 700; }

.woocommerce ul.products li.product .button,
.tgm-card .button {
  margin: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  padding: 8px 10px !important;
  font: 700 11px/1 Manrope, sans-serif !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tgm-card .button:hover {
  background: var(--ink) !important;
  color: #fff !important;
}

.tgm-card .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #9a1b16;
  color: #fff;
  border-radius: 0;
  min-height: 0;
  line-height: 1;
  padding: 6px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tgm-archive-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #070707;
  overflow: hidden;
}

.tgm-archive-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28));
}

.tgm-archive-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0 28px;
}

.tgm-archive-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  color: #fff;
  max-width: 16ch;
}

.tgm-main-shop { padding-bottom: 72px; }

.tgm-wrap {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 28px auto 0;
}

.woocommerce .woocommerce-result-count,
.woocommerce-ordering { margin: 0 0 18px; }

.tgm-wrap .woocommerce-notices-wrapper,
.woocommerce-result-count { color: var(--muted); }

.tgm-main-shop .woocommerce-result-count,
.tgm-main-shop .woocommerce-ordering {
  display: inline-flex;
}

.woocommerce .woocommerce-ordering { float: right; }

.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  font: 600 13px/1.2 Manrope, sans-serif;
}

.woocommerce-pagination { margin-top: 28px; }

.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul li {
  border: 0;
  float: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tgm-main,
.tgm-main-product {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.tgm-main-shop {
  width: auto;
  max-width: none;
  padding: 0 0 72px;
}

.woocommerce div.product {
  overflow: visible;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.tgm-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.woocommerce-product-gallery {
  width: 100% !important;
  opacity: 1 !important;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
}

.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
  background: #f7f5f1;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin: 10px 0 0 !important;
  padding: 0;
  list-style: none;
}

.flex-control-thumbs li {
  width: 74px !important;
  float: none !important;
  background: #f7f5f1;
  border: 1px solid var(--line);
}

.flex-control-thumbs img {
  opacity: 1 !important;
  object-fit: contain;
  width: 100%;
  height: 74px;
}

.tgm-product-summary {
  position: sticky;
  top: 124px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 28px 22px;
}

.posted_in a,
.woocommerce-breadcrumb a {
  text-transform: capitalize;
}

.woocommerce div.product .product_title {
  margin: 8px 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  text-transform: none;
  font-family: Manrope, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 750;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: #333;
  font-size: 15px;
  max-width: 52ch;
}

.woocommerce div.product form.cart {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 18px 0 8px;
}

.woocommerce div.product form.cart .quantity {
  margin: 0;
}

.woocommerce div.product form.cart .qty {
  width: 72px;
  height: 54px;
  border: 1px solid var(--ink);
  background: #fff;
  text-align: center;
  font: 700 16px/1 Manrope, sans-serif;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1;
  height: 54px;
  margin: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 700 14px/1 Manrope, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #2a2a2a;
}

.woocommerce div.product .stock {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.woocommerce div.product .stock.in-stock { color: #1d6b32; }
.woocommerce div.product .stock.out-of-stock { color: #9a1b16; }

.product_meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.product_meta a { color: var(--ink); }

.woocommerce-breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.woocommerce-breadcrumb a { color: var(--ink); text-decoration: none; }

.woocommerce-tabs {
  margin-top: 64px;
  padding-top: 8px;
  clear: both;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 22px;
  padding: 0 0 12px;
  margin: 0 0 18px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }

.woocommerce-Tabs-panel {
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.7;
}

.woocommerce-Tabs-panel h2 { display: none; }

.related.products,
.upsells.products {
  margin-top: 72px;
  clear: both;
}

.related.products > h2,
.upsells.products > h2 {
  margin: 0 0 18px;
  font-size: 48px;
}

.tgm-page h1 {
  margin: 0 0 16px;
  font-size: 64px;
}

.tgm-page-body { max-width: 72ch; }

.tgm-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.tgm-footer-inner {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.8fr;
  gap: 28px;
}

.tgm-footer-logo img {
  display: block;
  height: 84px;
  width: auto;
}

.tgm-footer-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tgm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.tgm-footer-links a {
  text-decoration: none;
  font-weight: 650;
}

.tgm-footer-base {
  border-top: 1px solid var(--line);
}

.tgm-footer-base p {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
  padding: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: #fff;
  border-top: 2px solid var(--ink);
  color: var(--ink);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--ink);
  color: #fff;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #2a2a2a;
  color: #fff;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select {
  border: 1px solid #d7d1c7;
  border-radius: 0;
  padding: 12px 14px;
  background: #fff;
  font: 500 15px/1.3 Manrope, sans-serif;
}

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
  background: var(--ink);
}

@media (max-width: 980px) {
  body.tgm-site button.tgm-menu-btn { display: inline-flex; margin-left: auto; }
  .tgm-header-search { display: none; }
  .tgm-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 22px 16px;
    gap: 12px;
  }
  body.tgm-nav-open .tgm-nav { display: flex; }
  .tgm-header { position: sticky; }
  .tgm-header-bar { position: relative; }
  .tgm-cats,
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgm-product-top,
  .tgm-footer-inner { grid-template-columns: 1fr; }
  .tgm-product-summary { position: static; }
  .tgm-logo img { height: 62px; }
}

@media (max-width: 640px) {
  .tgm-hero-copy,
  .tgm-archive-copy,
  .tgm-section,
  .tgm-wrap,
  .tgm-main,
  .tgm-main-product,
  .tgm-footer-inner,
  .tgm-footer-base p { width: min(100% - 32px, var(--wrap)); }
  .tgm-hero h1 { font-size: 58px; }
  .woocommerce div.product form.cart { flex-direction: column; }
  .woocommerce .woocommerce-ordering { float: none; margin-top: 8px; }
}
