/*
Theme Name: Bricks Child
Theme URI: https://gooek.com
Description: Child theme for the Bricks theme on gooek.com.
Author: gooek.com
Author URI: https://gooek.com
Template: bricks
Version: 1.0.0
Text Domain: bricks-child
*/

:root {
  --autool-header-surface: var(--base-ultra-light);
  --autool-header-surface-strong: var(--white);
  --autool-header-panel-surface: var(--primary-ultra-light);
  --autool-header-ink: var(--text-dark);
  --autool-header-ink-muted: var(--text-dark-muted);
  --autool-header-line: var(--base-light-trans-60);
  --autool-header-line-strong: var(--base-dark-trans-20);
  --autool-header-line-size: calc(var(--space-xs) * 0.03);
  --autool-header-shadow: var(--box-shadow-2);
  --autool-header-gap: var(--space-s);
  --autool-header-gap-lg: var(--space-m);
  --autool-header-pad: var(--space-xs);
  --autool-header-pad-lg: var(--space-s);
  --autool-header-radius: var(--radius);
  --autool-header-content-width: var(--content-width-safe);
}

.autool-header-light,
.autool-header-light * {
  box-sizing: border-box;
}

.autool-header-light {
  position: relative;
  z-index: 40;
  background: linear-gradient(180deg, var(--autool-header-surface-strong) 0%, var(--autool-header-surface) 100%);
  border-bottom: var(--autool-header-line-size) solid var(--autool-header-line-strong);
  color: var(--autool-header-ink);
  font-family: var(--text-font-family);
  box-shadow: var(--box-shadow-1);
}

.autool-header-light a,
.autool-header-light button,
.autool-header-light input {
  font: inherit;
}

.autool-header-light__container {
  width: min(100% - var(--space-s), var(--autool-header-content-width));
  margin-inline: auto;
}

.autool-header-light__topbar {
  background:
    linear-gradient(90deg, var(--primary-light-trans-40), transparent 55%),
    linear-gradient(180deg, var(--primary-ultra-light), var(--neutral-ultra-light));
  border-bottom: var(--autool-header-line-size) solid var(--autool-header-line);
}

.autool-header-light__topbar .autool-header-light__container,
.autool-header-light__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--autool-header-gap);
}

.autool-header-light__topbar .autool-header-light__container {
  min-height: calc(var(--space-s) + var(--space-xs));
  padding-block: calc(var(--space-xs) * 0.35);
}

.autool-service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.autool-service-strip__item {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--space-xs) * 0.35);
  color: var(--autool-header-ink);
  text-decoration: none;
  font-size: var(--text-xs);
  line-height: var(--text-line-height);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.autool-service-strip__item:hover {
  color: var(--primary-dark);
}

.autool-service-strip__dot {
  inline-size: calc(var(--space-xs) * 0.35);
  block-size: calc(var(--space-xs) * 0.35);
  background: var(--primary);
  border-radius: var(--radius-circle);
  box-shadow: 0 0 0 calc(var(--space-xs) * 0.12) var(--primary-light);
}

.autool-header-light__utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-xs);
}

.autool-header-light__utility-links a,
.autool-nav__meta span {
  color: var(--autool-header-ink-muted);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
}

.autool-header-light__utility-links a:hover {
  color: var(--autool-header-ink);
}

.autool-header-light__main {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(135deg, var(--white) 0%, var(--neutral-ultra-light) 68%, var(--primary-ultra-light) 100%);
}

.autool-header-light__main::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  inline-size: min(24%, var(--width-m));
  background: linear-gradient(135deg, var(--primary-light-trans-30), transparent 72%);
  pointer-events: none;
}

.autool-header-light__main-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(var(--width-s), var(--width-m)) minmax(var(--width-m), 1fr) auto;
  gap: var(--autool-header-gap-lg);
  align-items: center;
  padding-block: var(--autool-header-pad-lg);
}

.autool-header-light__mobile-toggle-wrap {
  display: none;
}

.autool-logo {
  display: inline-flex;
  flex-direction: column;
  gap: calc(var(--space-xs) * 0.2);
  align-items: flex-start;
  color: var(--autool-header-ink);
  text-decoration: none;
}

.autool-logo img {
  inline-size: min(100%, calc(var(--width-s) + var(--space-m)));
  block-size: auto;
}

.autool-logo__tag {
  color: var(--autool-header-ink-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.autool-search {
  display: grid;
  gap: calc(var(--space-xs) * 0.45);
}

.autool-search input[type="search"] {
  inline-size: 100%;
  min-block-size: calc(var(--space-m) + var(--space-xs));
  padding-inline: var(--autool-header-pad);
  padding-block: calc(var(--space-xs) * 0.55);
  background: var(--white);
  color: var(--autool-header-ink);
  border: var(--autool-header-line-size) solid var(--autool-header-line-strong);
  border-radius: var(--autool-header-radius);
  font-size: var(--text-s);
  font-family: var(--text-font-family);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.autool-search input[type="search"]:focus {
  outline: none;
  border-color: var(--primary-semi-dark);
  box-shadow: 0 0 0 calc(var(--space-xs) * 0.12) var(--primary-light-trans-40);
}

.autool-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.autool-search__tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space-xs) * 0.3);
}

.autool-search__tag {
  appearance: none;
  padding-inline: calc(var(--space-xs) * 0.55);
  padding-block: calc(var(--space-xs) * 0.2);
  border: var(--autool-header-line-size) solid var(--autool-header-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--autool-header-ink-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.autool-search__tag:hover {
  border-color: var(--primary-semi-dark);
  color: var(--primary-dark);
  background: var(--primary-ultra-light);
}

.autool-actions {
  display: flex;
  gap: calc(var(--space-xs) * 0.45);
  align-items: stretch;
}

.autool-action-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--space-xs) * 0.16);
  min-inline-size: calc(var(--width-xs) * 0.7);
  padding: calc(var(--space-xs) * 0.55);
  border: var(--autool-header-line-size) solid var(--autool-header-line);
  border-radius: var(--autool-header-radius);
  background: var(--white);
  color: var(--autool-header-ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.autool-action-link:hover {
  transform: translateY(calc(var(--space-xs) * -0.05));
  border-color: var(--primary-semi-light);
  box-shadow: var(--box-shadow-m);
}

.autool-action-link__eyebrow,
.autool-panel__eyebrow,
.autool-grid-fallback__eyebrow {
  color: var(--autool-header-ink-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.autool-action-link__label,
.autool-panel__title,
.autool-grid-fallback__title {
  color: var(--autool-header-ink);
  font-size: var(--text-s);
  font-weight: 700;
}

.autool-action-link__badge {
  position: absolute;
  inset-block-start: calc(var(--space-xs) * 0.35);
  inset-inline-end: calc(var(--space-xs) * 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: calc(var(--space-s) * 0.75);
  min-block-size: calc(var(--space-s) * 0.75);
  padding-inline: calc(var(--space-xs) * 0.24);
  border-radius: var(--radius-circle);
  background: var(--primary);
  color: var(--base-ultra-dark);
  font-size: var(--text-xs);
  font-weight: 800;
}

.autool-header-light__nav-shell {
  border-top: var(--autool-header-line-size) solid var(--autool-header-line);
  background: linear-gradient(90deg, var(--white), var(--neutral-ultra-light));
}

.autool-header-light__nav-row {
  min-block-size: calc(var(--space-m) + var(--space-xs));
  padding-block: calc(var(--space-xs) * 0.45);
}

.autool-nav {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space-xs) * 0.7);
  align-items: center;
}

.autool-nav__link {
  color: var(--autool-header-ink);
  text-decoration: none;
  font-size: var(--text-s);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.autool-nav__link:hover,
.autool-nav__link.is-accent {
  color: var(--primary-dark);
}

.autool-nav__meta {
  margin-inline-start: auto;
}

.autool-button,
.autool-icon-button,
.autool-panel__close,
.autool-search button {
  appearance: none;
  border-radius: var(--autool-header-radius);
  border: var(--autool-header-line-size) solid var(--autool-header-line-strong);
  min-block-size: calc(var(--space-m) + var(--space-xs));
  padding-inline: var(--autool-header-pad);
  padding-block: calc(var(--space-xs) * 0.45);
  font-family: var(--heading-font-family);
  font-size: var(--text-s);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.autool-button:hover,
.autool-icon-button:hover,
.autool-panel__close:hover,
.autool-search button:hover {
  transform: translateY(calc(var(--space-xs) * -0.04));
  box-shadow: var(--box-shadow-m);
}

.autool-button--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-semi-light));
  color: var(--base-ultra-dark);
}

.autool-button--ghost,
.autool-panel__close,
.autool-icon-button {
  background: var(--white);
  color: var(--autool-header-ink);
}

.autool-icon-button {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--space-xs) * 0.4);
}

.autool-icon-button__bars {
  display: inline-grid;
  gap: calc(var(--space-xs) * 0.14);
}

.autool-icon-button__bars span {
  display: block;
  inline-size: calc(var(--space-s) * 0.7);
  block-size: var(--autool-header-line-size);
  background: currentColor;
}

.autool-header-light__panels {
  position: relative;
}

.autool-panel {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  z-index: 60;
  background:
    linear-gradient(180deg, var(--autool-header-surface-strong) 0%, var(--autool-header-panel-surface) 100%);
  border-block-start: var(--autool-header-line-size) solid var(--autool-header-line-strong);
  border-block-end: var(--autool-header-line-size) solid var(--autool-header-line);
  box-shadow: var(--autool-header-shadow);
}

.autool-panel[hidden] {
  display: none;
}

.autool-panel__header,
.autool-panel__footer {
  width: min(100% - var(--space-s), var(--autool-header-content-width));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--autool-header-gap);
  padding-block: var(--autool-header-pad-lg);
}

.autool-mega-grid,
.autool-cart-list,
.autool-mobile-panel__meta,
.autool-mobile-nav {
  width: min(100% - var(--space-s), var(--autool-header-content-width));
  margin-inline: auto;
}

.autool-mega-grid {
  display: grid;
  grid-template-columns: minmax(var(--width-xs), var(--width-s)) minmax(0, 1fr);
  gap: var(--autool-header-gap-lg);
  padding-block-end: var(--space-s);
}

.autool-mega-grid__nav,
.autool-mobile-nav {
  display: grid;
  gap: calc(var(--space-xs) * 0.35);
}

.autool-mega-grid__link,
.autool-mobile-nav__link {
  display: block;
  padding: calc(var(--space-xs) * 0.55);
  border: var(--autool-header-line-size) solid var(--autool-header-line);
  border-radius: var(--autool-header-radius);
  background: var(--white);
  color: var(--autool-header-ink);
  text-decoration: none;
  font-size: var(--text-s);
  font-weight: 700;
}

.autool-mega-grid__link:hover,
.autool-mobile-nav__link:hover,
.autool-mobile-nav__link.is-accent {
  border-color: var(--primary-semi-light);
  color: var(--primary-dark);
}

.autool-grid-shell,
.autool-grid-fallback {
  display: grid;
  gap: var(--space-xs);
}

.autool-grid-fallback {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: var(--space-s);
}

.autool-grid-fallback__card,
.autool-cart-list__item {
  display: grid;
  gap: calc(var(--space-xs) * 0.2);
  padding: calc(var(--space-xs) * 0.7);
  border: var(--autool-header-line-size) solid var(--autool-header-line);
  border-radius: var(--autool-header-radius);
  background: var(--white);
  color: var(--autool-header-ink);
  text-decoration: none;
}

.autool-grid-fallback__meta,
.autool-cart-list__meta {
  color: var(--autool-header-ink-muted);
  font-size: var(--text-xs);
}

.autool-cart-list {
  display: grid;
  gap: calc(var(--space-xs) * 0.45);
  padding-block-end: var(--space-s);
}

.autool-cart-list__item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.autool-cart-list__title,
.autool-cart-list__price,
.autool-panel__summary strong {
  font-size: var(--text-s);
  font-weight: 700;
}

.autool-panel__summary {
  display: inline-grid;
  gap: calc(var(--space-xs) * 0.15);
  color: var(--autool-header-ink-muted);
  font-size: var(--text-xs);
}

.autool-mobile-panel {
  position: fixed;
  inset: 0 auto 0 0;
  inline-size: min(calc(var(--width-m) + var(--space-l)), 100% - var(--space-s));
  overflow: auto;
  border-inline-end: var(--autool-header-line-size) solid var(--autool-header-line-strong);
}

.autool-mobile-panel__meta {
  padding-block-end: var(--space-s);
}

.autool-header-light [data-autool-overlay] {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--black-trans-40);
}

.autool-header-light [data-autool-overlay][hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .autool-header-light__main-grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .autool-header-light__mobile-toggle-wrap {
    display: block;
  }

  .autool-search,
  .autool-nav__meta {
    display: none;
  }

  .autool-header-light__nav-row {
    justify-content: flex-start;
  }

  .autool-nav {
    overflow: auto hidden;
    flex-wrap: nowrap;
    inline-size: 100%;
    padding-block-end: calc(var(--space-xs) * 0.15);
  }

  .autool-grid-fallback {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .autool-header-light__topbar .autool-header-light__container,
  .autool-header-light__nav-shell,
  .autool-header-light__utility-links,
  .autool-nav {
    display: none;
  }

  .autool-header-light__container {
    width: min(100% - var(--space-xs), var(--autool-header-content-width));
  }

  .autool-header-light__main-grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: calc(var(--space-xs) * 0.45);
    padding-block: var(--space-xs);
  }

  .autool-logo img {
    inline-size: min(100%, calc(var(--width-xs) + var(--space-l)));
  }

  .autool-logo__tag,
  .autool-action-link__eyebrow,
  .autool-action-link__label {
    display: none;
  }

  .autool-actions {
    gap: calc(var(--space-xs) * 0.25);
  }

  .autool-action-link,
  .autool-icon-button,
  .autool-button,
  .autool-search button {
    min-inline-size: calc(var(--space-m) + var(--space-xs));
    padding-inline: calc(var(--space-xs) * 0.6);
  }

  .autool-grid-fallback,
  .autool-mega-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .autool-mobile-panel {
    inline-size: 100%;
  }
}
