/*
Theme Name: X SAVE SHOP
Theme URI: https://xsaveshop.com/
Author: X SAVE SHOP
Description: Industrial ecommerce theme for WooCommerce.
Version: 1.0.0
Text Domain: x-save-shop
*/

:root {
  --xss-ink: #151515;
  --xss-soft-ink: #3f3f3f;
  --xss-muted: #6f6f6f;
  --xss-line: #dedbd2;
  --xss-paper: #fbfaf6;
  --xss-panel: #ffffff;
  --xss-signal: #f6c343;
  --xss-signal-dark: #d39800;
  --xss-green: #2f6f5e;
  --xss-red: #c1493a;
  --xss-blue: #345f84;
  --xss-radius: 6px;
  --xss-shadow: 0 18px 45px rgba(21, 21, 21, 0.1);
  font-family: "Trebuchet MS", "Aptos", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--xss-ink);
  background:
    linear-gradient(90deg, rgba(246, 195, 67, 0.09) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(21, 21, 21, 0.04) 0 1px, transparent 1px 100%),
    var(--xss-paper);
  background-size: 42px 42px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.xss-wrap {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.xss-topbar {
  background: #111;
  color: #f7f1dc;
  font-size: 13px;
}

.xss-topbar__inner,
.xss-header__inner,
.xss-nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.xss-topbar__inner {
  min-height: 36px;
  justify-content: space-between;
}

.xss-header {
  background: var(--xss-panel);
  border-bottom: 1px solid var(--xss-line);
}

.xss-header__inner {
  min-height: 86px;
}

.xss-logo {
  display: inline-grid;
  min-width: 210px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  font-size: 30px;
}

.xss-logo span {
  color: var(--xss-signal-dark);
}

.xss-search {
  display: flex;
  flex: 1;
  height: 48px;
  border: 2px solid var(--xss-ink);
  border-radius: var(--xss-radius);
  overflow: hidden;
  background: white;
}

.xss-search input {
  flex: 1;
  border: 0;
  padding: 0 16px;
  font-size: 16px;
}

.xss-search button,
.xss-button {
  border: 0;
  background: var(--xss-signal);
  color: #151515;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}

.xss-actions {
  display: flex;
  gap: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.xss-nav {
  background: var(--xss-signal);
  border-bottom: 3px solid var(--xss-ink);
}

.xss-nav__inner {
  min-height: 44px;
  overflow-x: auto;
}

.xss-nav a {
  font-weight: 800;
  white-space: nowrap;
}

.xss-category-trigger {
  background: var(--xss-ink);
  color: white;
  padding: 12px 18px;
  border-radius: 0;
}

.xss-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(246, 195, 67, 0.34), transparent 34%),
    linear-gradient(120deg, #202020 0%, #202020 48%, #f6c343 48%, #f6c343 100%);
  color: white;
}

.xss-hero__inner {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: 46px 0;
}

.xss-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.9;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.xss-hero p {
  max-width: 610px;
  font-size: 19px;
  color: #f5edd2;
}

.xss-hero__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xss-hero-card,
.xss-category-card,
.xss-product-card,
.xss-band {
  background: var(--xss-panel);
  color: var(--xss-ink);
  border: 1px solid var(--xss-line);
  border-radius: var(--xss-radius);
  box-shadow: var(--xss-shadow);
}

.xss-hero-card {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.xss-hero-card b {
  font-size: 21px;
}

.xss-section {
  padding: 42px 0;
}

.xss-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.xss-section h2 {
  font-size: 32px;
  margin: 0;
}

.xss-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.xss-category-card {
  overflow: hidden;
  min-height: 210px;
}

.xss-category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.xss-category-card strong {
  display: block;
  padding: 13px 14px 4px;
  font-size: 17px;
}

.xss-category-card small {
  display: block;
  padding: 0 14px 14px;
  color: var(--xss-muted);
}

.xss-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.xss-band a {
  padding: 22px;
  border-right: 1px solid var(--xss-line);
}

.xss-band b {
  display: block;
  font-size: 20px;
}

.xss-footer {
  background: #151515;
  color: #efe9d6;
  padding: 44px 0 22px;
  margin-top: 34px;
}

.xss-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.xss-footer a {
  display: block;
  color: #efe9d6;
  margin: 8px 0;
}

.xss-footer h3 {
  color: var(--xss-signal);
  margin-top: 0;
}

.xss-copy {
  color: #a8a08a;
  margin-top: 30px;
  border-top: 1px solid #3a3a3a;
  padding-top: 18px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--xss-line);
  border-radius: var(--xss-radius);
  padding: 12px;
}

@media (max-width: 980px) {
  .xss-header__inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .xss-logo {
    min-width: auto;
  }

  .xss-search {
    order: 3;
    flex-basis: 100%;
  }

  .xss-hero__inner,
  .xss-footer__grid {
    grid-template-columns: 1fr;
  }

  .xss-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .xss-wrap {
    width: min(100% - 20px, 1440px);
  }

  .xss-actions,
  .xss-topbar__inner span:nth-child(2) {
    display: none;
  }

  .xss-hero__panel,
  .xss-band,
  .xss-grid {
    grid-template-columns: 1fr 1fr;
  }

  .xss-hero__inner {
    min-height: auto;
  }
}
