﻿/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Long Khai global header/footer */
:where(.lk-site-header, .lk-site-footer) {
  --lk-primary: #e31e24;
  --lk-primary-dark: #c9151b;
  --lk-navy: #12385f;
  --lk-text: #1f2937;
  --lk-muted: #667085;
  --lk-border: #e5e7eb;
  --lk-soft: #f7f8fa;
  --lk-shell: 1240px;
  color: var(--lk-text);
  font-family: var(--lk-font-family, "Inter", sans-serif);
}

.lk-site-header *,
.lk-site-footer * {
  box-sizing: border-box;
}

.lk-site-header a,
.lk-site-footer a {
  text-decoration: none;
}

.lk-shell {
  width: min(var(--lk-shell), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.lk-site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .08);
}

.lk-topbar {
  min-height: 38px;
  background: var(--lk-navy);
  color: #fff;
  font-size: 13px;
}

.lk-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lk-topbar-message,
.lk-topbar-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lk-topbar-message i {
  color: #ffd04a;
}

.lk-topbar-links a {
  color: rgba(255, 255, 255, .9);
  transition: color .2s ease;
}

.lk-topbar-links a:hover,
.lk-topbar-links a:focus-visible {
  color: #fff;
}

.lk-header-main {
  background: var(--lk-primary);
}

.lk-header-main-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 190px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.lk-brand,
.lk-brand .custom-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.lk-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 62px;
  object-fit: contain;
}

.lk-brand-text {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  line-height: 1;
}

.lk-brand-text strong {
  font-size: 27px;
  letter-spacing: .7px;
}

.lk-brand-text small {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: .85;
}

.lk-header-search {
  height: 46px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
}

.lk-header-search > i {
  justify-self: center;
  color: #98a2b3;
  font-size: 16px;
}

.lk-header-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #344054;
  font: inherit;
  font-size: 14px;
  box-shadow: none;
}

.lk-header-search input[type="search"]::placeholder {
  color: #98a2b3;
}

.lk-header-search button {
  align-self: stretch;
  min-width: 98px;
  padding: 0 20px;
  border: 0;
  border-left: 1px solid var(--lk-border);
  background: #f2f4f7;
  color: #1d2939;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.lk-header-search button:hover,
.lk-header-search button:focus-visible {
  background: #e7e9ee;
}

.lk-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lk-header-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: #fff;
}

.lk-header-action > i,
.lk-action-icon > i {
  font-size: 20px;
}

.lk-header-action span:not(.lk-action-icon) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lk-header-action small {
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  line-height: 1.1;
}

.lk-header-action strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.lk-action-icon {
  position: relative;
  display: inline-flex;
}

.lk-cart-count {
  position: absolute;
  top: -12px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--lk-primary);
  border-radius: 10px;
  background: #fff;
  color: var(--lk-primary);
  font-size: 10px;
  line-height: 1;
}

.lk-navigation-bar {
  height: 49px;
  background: #fff;
  border-bottom: 1px solid var(--lk-border);
}

.lk-navigation-inner {
  height: 49px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  align-items: stretch;
}

.lk-categories {
  position: relative;
  z-index: 20;
  height: 49px;
}

.lk-categories > summary {
  height: 49px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  list-style: none;
  background: #f7f8fa;
  border-inline: 1px solid var(--lk-border);
  color: #1d2939;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.lk-categories > summary::-webkit-details-marker {
  display: none;
}

.lk-categories > summary > i:first-child {
  color: var(--lk-primary);
  font-size: 18px;
}

.lk-summary-chevron {
  color: #98a2b3;
  font-size: 11px;
  transition: transform .2s ease;
}

.lk-categories[open] .lk-summary-chevron {
  transform: rotate(180deg);
}

.lk-category-panel {
  position: absolute;
  top: 49px;
  left: 0;
  width: 250px;
  background: #fff;
  border: 1px solid var(--lk-border);
  border-top: 0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
}

.lk-category-level {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lk-category-level li {
  position: relative;
  margin: 0;
}

.lk-category-level li > a {
  min-height: 43px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f0f1f3;
  color: #344054;
  font-size: 13px;
  line-height: 1.25;
  transition: color .15s ease, background .15s ease, padding .15s ease;
}

.lk-category-level li:last-child > a {
  border-bottom: 0;
}

.lk-category-level li > a:hover,
.lk-category-level li > a:focus-visible {
  padding-left: 18px;
  background: #fff5f5;
  color: var(--lk-primary);
}

.lk-category-level li > a i {
  color: #98a2b3;
  font-size: 9px;
}

.lk-category-level .lk-category-level {
  position: absolute;
  top: -1px;
  left: calc(100% - 1px);
  width: 250px;
  display: none;
  background: #fff;
  border: 1px solid var(--lk-border);
  box-shadow: 10px 12px 28px rgba(16, 24, 40, .12);
}

.lk-category-level .has-children:hover > .lk-category-level,
.lk-category-level .has-children:focus-within > .lk-category-level {
  display: block;
}

.lk-primary-navigation {
  min-width: 0;
  padding-inline: 18px;
}

.lk-primary-menu,
.lk-primary-navigation .menu {
  height: 49px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lk-primary-menu > li,
.lk-primary-navigation .menu > li {
  position: relative;
  margin: 0;
}

.lk-primary-menu > li > a,
.lk-primary-navigation .menu > li > a {
  height: 49px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.lk-primary-menu > li > a:hover,
.lk-primary-menu > li > a:focus-visible,
.lk-primary-navigation .menu > li > a:hover,
.lk-primary-navigation .menu > li > a:focus-visible,
.lk-primary-navigation .current-menu-item > a {
  color: var(--lk-primary);
}

.lk-primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 15;
  width: 230px;
  display: none;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--lk-border);
  box-shadow: 0 12px 25px rgba(16, 24, 40, .12);
}

.lk-primary-navigation li:hover > .sub-menu,
.lk-primary-navigation li:focus-within > .sub-menu {
  display: block;
}

.lk-primary-navigation .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: #344054;
  font-size: 13px;
}

.lk-primary-navigation .sub-menu a:hover,
.lk-primary-navigation .sub-menu a:focus-visible {
  background: #fff5f5;
  color: var(--lk-primary);
}

.lk-nav-cta {
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lk-primary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.lk-site-footer {
  margin-top: 0;
  background: #fff;
}

.lk-footer-benefits {
  border-top: 1px solid var(--lk-border);
  border-bottom: 1px solid var(--lk-border);
  background: #fff;
}

.lk-benefit-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.lk-benefit-item {
  min-width: 0;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-right: 1px solid var(--lk-border);
}

.lk-benefit-item:first-child {
  border-left: 1px solid var(--lk-border);
}

.lk-benefit-item > i {
  width: 44px;
  flex: 0 0 44px;
  color: var(--lk-primary);
  font-size: 34px;
  text-align: center;
}

.lk-benefit-item span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lk-benefit-item strong {
  color: #1d2939;
  font-size: 16px;
  line-height: 1.2;
}

.lk-benefit-item small {
  color: var(--lk-muted);
  font-size: 12px;
  line-height: 1.35;
}

.lk-footer-main {
  padding: 34px 0 30px;
  background: #fff;
}

.lk-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr .85fr 1fr 1fr;
  gap: 42px;
}

.lk-footer-column h3 {
  margin: 0 0 16px;
  color: #1d2939;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.lk-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lk-footer-column li {
  margin: 0 0 9px;
}

.lk-footer-column li a,
.lk-footer-column p,
.lk-footer-column p a {
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
}

.lk-footer-column li a:hover,
.lk-footer-column li a:focus-visible,
.lk-footer-column p a:hover,
.lk-footer-column p a:focus-visible {
  color: var(--lk-primary);
}

.lk-footer-contact p {
  margin: 13px 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.lk-footer-contact p > i {
  margin-top: 5px;
  color: var(--lk-primary);
}

.lk-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lk-primary);
  font-size: 18px;
  font-weight: 700;
}

.lk-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lk-navy);
  font-size: 12px;
  font-weight: 700;
}

.lk-social-links {
  display: grid;
  gap: 10px;
}

.lk-social-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.lk-social-links a > i,
.lk-zalo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1473e6;
  color: #fff;
  font-size: 15px;
}

.lk-zalo-mark {
  font-size: 9px;
  font-weight: 700;
}

.lk-footer-quote {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--lk-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.lk-footer-quote:hover,
.lk-footer-quote:focus-visible {
  background: var(--lk-primary-dark);
  color: #fff;
}

.lk-footer-bottom {
  border-top: 1px solid var(--lk-border);
  background: var(--lk-soft);
}

.lk-footer-bottom-inner {
  min-height: 78px;
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #667085;
  font-size: 12px;
}

.lk-footer-bottom-inner > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lk-footer-bottom-inner strong {
  color: #1d2939;
  font-size: 14px;
}

.lk-footer-bottom-contact {
  align-items: flex-end;
  text-align: right;
}

.lk-footer-bottom-contact a {
  color: var(--lk-navy);
}

@media (max-width: 1100px) {
  .lk-header-main-inner {
    grid-template-columns: 160px minmax(260px, 1fr) auto;
    gap: 18px;
  }

  .lk-header-actions {
    gap: 16px;
  }

  .lk-header-action span:not(.lk-action-icon) {
    display: none;
  }

  .lk-navigation-inner {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .lk-nav-cta {
    display: none;
  }

  .lk-primary-navigation {
    overflow: hidden;
  }

  .lk-primary-menu,
  .lk-primary-navigation .menu {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lk-primary-menu::-webkit-scrollbar,
  .lk-primary-navigation .menu::-webkit-scrollbar {
    display: none;
  }

  .lk-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .lk-shell {
    width: min(calc(100% - 24px), var(--lk-shell));
  }

  .lk-topbar {
    min-height: 34px;
  }

  .lk-topbar-inner {
    min-height: 34px;
    justify-content: center;
  }

  .lk-topbar-message {
    width: 100%;
    justify-content: center;
    font-size: 11px;
    text-align: center;
  }

  .lk-topbar-links {
    display: none;
  }

  .lk-header-main-inner {
    min-height: 132px;
    padding: 12px 0;
    grid-template-columns: minmax(120px, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 11px 16px;
  }

  .lk-brand {
    grid-area: brand;
  }

  .lk-brand .custom-logo {
    max-width: 145px;
    max-height: 48px;
  }

  .lk-brand-text strong {
    font-size: 22px;
  }

  .lk-header-search {
    grid-area: search;
    height: 42px;
  }

  .lk-header-search input[type="search"] {
    height: 38px;
    font-size: 13px;
  }

  .lk-header-search button {
    min-width: 76px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .lk-header-actions {
    grid-area: actions;
    justify-self: end;
    gap: 18px;
  }

  .lk-header-action > i,
  .lk-action-icon > i {
    font-size: 19px;
  }

  .lk-header-action.lk-account {
    display: none;
  }

  .lk-navigation-bar,
  .lk-navigation-inner,
  .lk-categories,
  .lk-categories > summary {
    height: 46px;
  }

  .lk-navigation-inner {
    width: 100%;
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .lk-categories > summary {
    padding-inline: 12px;
    gap: 8px;
    font-size: 12px;
  }

  .lk-categories > summary > i:first-child {
    font-size: 16px;
  }

  .lk-category-panel {
    top: 46px;
    width: min(320px, 94vw);
    max-height: 65vh;
    overflow-y: auto;
  }

  .lk-category-level .lk-category-level {
    position: static;
    width: 100%;
    display: block;
    border: 0;
    box-shadow: none;
    background: #fafafa;
  }

  .lk-category-level-1 > li > a {
    padding-left: 28px;
  }

  .lk-category-level-2 > li > a {
    padding-left: 42px;
  }

  .lk-primary-navigation {
    padding-inline: 4px;
  }

  .lk-primary-menu,
  .lk-primary-navigation .menu {
    height: 46px;
  }

  .lk-primary-menu > li > a,
  .lk-primary-navigation .menu > li > a {
    height: 46px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .lk-benefit-grid {
    grid-template-columns: 1fr;
  }

  .lk-benefit-item,
  .lk-benefit-item:first-child {
    justify-content: flex-start;
    min-height: 72px;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid var(--lk-border);
  }

  .lk-benefit-item:last-child {
    border-bottom: 0;
  }

  .lk-benefit-item > i {
    width: 38px;
    flex-basis: 38px;
    font-size: 28px;
  }

  .lk-footer-main {
    padding: 26px 0 20px;
  }

  .lk-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .lk-footer-contact,
  .lk-footer-social {
    grid-column: 1 / -1;
  }

  .lk-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .lk-footer-bottom-contact {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .lk-header-action.lk-hotline {
    display: none;
  }

  .lk-footer-grid {
    grid-template-columns: 1fr;
  }

  .lk-footer-contact,
  .lk-footer-social {
    grid-column: auto;
  }
}

