/*
 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.2
 Text Domain:  bricks
*/

/* ================================================================
   Tổng Kho Khóa Thông Minh — native Bricks header/footer skin

   Softer blue direction from the supplied storefront sign. Structure is
   stored as normal Bricks elements; these classes only provide the initial
   visual system and can be replaced/overridden in Builder at any time.
   ================================================================ */

:root {
  --tkk-blue-800: #2454a4;
  --tkk-blue-700: #2f66c8;
  --tkk-blue-600: #4078d5;
  --tkk-blue-500: #5b8be3;
  --tkk-blue-200: #d9e5fa;
  --tkk-blue-100: #eef4ff;
  --tkk-blue-050: #f7faff;
  --tkk-ink: #17366b;
  --tkk-text: #304764;
  --tkk-muted: #6f8198;
  --tkk-border: #dce7f8;
  --tkk-white: #fff;
  --tkk-container: 1320px;
  --tkk-radius: 10px;
  --tkk-shadow: 0 14px 34px rgba(34, 83, 164, 0.12);
}

/* ---------- Global typography ---------- */
html {
  font-size: 16px;
}
body,
button,
input,
select,
textarea {
  font-family: "Roboto", Arial, sans-serif;
}
body {
  font-size: 16px;
  line-height: 1.6;
}
small {
  font-size: 12px;
}
strong,
b {
  font-weight: 700;
}

/* ---------- Header main structure ---------- */
.tkk-header-main {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #edf2fa;
}
.tkk-header-logo a {
  color: inherit;
}
.tkk-header-search {
  width: 100%;
  min-width: 0;
}
.tkk-header-search .bricks-search-form:focus-within {
  border-color: var(--tkk-blue-500);
  box-shadow: 0 0 0 4px rgba(91, 139, 227, 0.12);
}
.tkk-header-search .bricks-search-form input[type="search"]::placeholder {
  color: #91a0b5;
}

/* ---------- Shared native Bricks layout ---------- */

.tkk-header-top__inner,
.tkk-header-main__inner,
.tkk-header-nav__inner,
.tkk-footer-grid,
.tkk-footer-bottom__inner {
  width: min(var(--tkk-container), calc(100% - 40px));
  max-width: var(--tkk-container);
  margin-inline: auto;
}

.tkk-header-top a,
.tkk-header-main a,
.tkk-header-nav a,
.tkk-footer-main a,
.tkk-footer-bottom a {
  text-decoration: none;
}

/* ---------- Header: soft information strip ---------- */

.tkk-header-top {
  min-height: 36px;
  padding: 0;
  background: var(--tkk-blue-100);
  border-bottom: 1px solid var(--tkk-blue-200);
  color: var(--tkk-ink);
}

.tkk-header-top__inner {
  min-height: 36px;
  padding: 0;
  gap: 24px;
}

.tkk-header-address,
.tkk-header-top-phone {
  margin: 0;
  color: #46617e;
  font-size: 14px;
  line-height: 1.35;
}

.tkk-header-top-phone {
  color: var(--tkk-blue-800);
  font-weight: 600;
  white-space: nowrap;
}

.tkk-header-top-phone:hover {
  color: var(--tkk-blue-600);
}

/* ---------- Header main / tools / navigation ---------- */
.tkk-header-main__inner {
  min-height: 78px;
  padding: 10px 0;
  display: grid !important;
  align-items: center;
  gap: 20px;
}

.tkk-header-search .bricks-search-form {
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #c9d8f2;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(36, 84, 164, 0.04);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.tkk-header-search .bricks-search-form input[type="search"] {
  min-height: 46px;
  border: 0;
  outline: 0;
  background: #fff;
  color: var(--tkk-text);
  box-shadow: none;
  padding-inline: 16px 10px;
  font-size: 15px;
}

.tkk-header-search .bricks-search-form button {
  width: 48px;
  border: 0;
  border-radius: 0;
  min-width: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  color: var(--tkk-blue-700);
  font-size: 0 !important;
  transition: background 0.18s ease;
}

.tkk-header-search .bricks-search-form button::before {
  content: "\e610";
  font-family: themify;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  top: 8px;
}

.tkk-header-search .bricks-search-form button:hover {
  background: var(--tkk-blue-050);
  color: var(--tkk-blue-800);
}

/* Header utility element */
.tkk-header-tools {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.tkk-header-tool,
.tkk-mini-cart-trigger {
  min-height: 52px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #314866;
  text-decoration: none !important;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.tkk-header-tool:hover,
.tkk-mini-cart-trigger:hover,
.tkk-mini-cart:hover > .tkk-mini-cart-trigger {
  background: var(--tkk-blue-050);
  color: var(--tkk-blue-700);
}

.tkk-header-tool__icon,
.tkk-mini-cart-trigger__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tkk-blue-100);
  color: var(--tkk-blue-700);
  font-size: 18px;
}

.tkk-header-tool--phone .tkk-header-tool__icon {
  background: var(--tkk-blue-600);
  color: #fff;
}

.tkk-header-tool__copy,
.tkk-mini-cart-trigger__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.tkk-header-tool__copy small,
.tkk-mini-cart-trigger__copy small {
  color: #7a8ba3;
  font-size: 12px !important;
  font-weight: 400;
}

.tkk-header-tool__copy strong,
.tkk-mini-cart-trigger__copy strong {
  max-width: 105px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Reusable mini cart */
.tkk-mini-cart {
  position: relative;
}
.tkk-mini-cart-trigger {
  position: relative;
}
.tkk-mini-cart-count {
  position: absolute;
  top: 3px;
  left: 31px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1;
}

.tkk-mini-cart-panel {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 1000;
  width: 390px;
  max-width: min(390px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--tkk-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 54, 100, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
}

.tkk-mini-cart-panel::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 0;
  width: 100%;
  height: 9px;
}

.tkk-mini-cart:hover .tkk-mini-cart-panel,
.tkk-mini-cart:focus-within .tkk-mini-cart-panel,
.tkk-mini-cart.is-open .tkk-mini-cart-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tkk-mini-cart-head,
.tkk-mini-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tkk-mini-cart-head {
  padding: 13px 15px;
  border-bottom: 1px solid #edf2fa;
  background: var(--tkk-blue-050);
}
.tkk-mini-cart-head strong {
  color: var(--tkk-ink);
  font-size: 15px;
}
.tkk-mini-cart-head span {
  color: var(--tkk-muted);
  font-size: 12px;
}

.tkk-mini-cart-items {
  max-height: 390px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.tkk-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 11px;
  align-items: center;
  padding: 12px 13px;
  border-bottom: 1px solid #edf2fa;
  transition: opacity 0.15s ease;
}
.tkk-mini-cart-item.is-loading {
  opacity: 0.48;
  pointer-events: none;
}
.tkk-mini-cart-thumb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
.tkk-mini-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tkk-mini-cart-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.tkk-mini-cart-title {
  display: -webkit-box;
  overflow: hidden;
  color: #182230;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.tkk-mini-cart-title:hover {
  color: var(--tkk-blue-700);
}
.tkk-mini-cart-price {
  color: #e3222d;
  font-size: 14px;
  font-weight: 700;
}
.tkk-mini-cart-qty {
  width: max-content;
  height: 30px;
  display: grid;
  grid-template-columns: 30px 38px 30px;
  overflow: hidden;
  border: 1px solid #d7e2f4;
  border-radius: 6px;
  background: #fff;
}
.tkk-mini-cart-qty button,
.tkk-mini-cart-qty input {
  min-width: 0;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #405a7d;
  text-align: center;
  box-shadow: none;
}
.tkk-mini-cart-qty button {
  cursor: pointer;
  font-size: 12px;
}
.tkk-mini-cart-qty button:hover {
  background: var(--tkk-blue-100);
  color: var(--tkk-blue-700);
}
.tkk-mini-cart-qty input {
  border-inline: 1px solid #e4ebf6;
  font-size: 12px;
  appearance: textfield;
}
.tkk-mini-cart-qty input::-webkit-inner-spin-button {
  display: none;
}
.tkk-mini-cart-remove {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #98a2b3;
  cursor: pointer;
}
.tkk-mini-cart-remove:hover {
  background: #fff1f0;
  color: #e3222d;
}

.tkk-mini-cart-footer {
  padding: 13px 15px 15px;
  background: #fff;
}
.tkk-mini-cart-total {
  margin-bottom: 12px;
  font-size: 14px;
}
.tkk-mini-cart-total strong {
  color: #e3222d;
  font-size: 16px;
}
.tkk-mini-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tkk-mini-cart-actions a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tkk-blue-600);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.tkk-mini-cart-view {
  color: var(--tkk-blue-700);
  background: #fff;
}
.tkk-mini-cart-checkout {
  color: #fff;
  background: var(--tkk-blue-600);
}
.tkk-mini-cart-checkout:hover {
  background: var(--tkk-blue-700);
  color: #fff;
}
.tkk-mini-cart-empty {
  min-height: 150px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--tkk-muted);
  text-align: center;
  font-size: 13px;
}
.tkk-mini-cart-empty i {
  color: #9cb8e8;
  font-size: 34px;
}

/* Navigation row + reusable product category mega menu */
.tkk-header-nav {
  background: #fff;
  border-block: 1px solid #e7eef9;
  box-shadow: 0 5px 18px rgba(47, 102, 200, 0.07);
}
.tkk-header-nav__inner {
  min-height: 52px;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0;
}
.tkk-category-menu {
  position: relative;
  z-index: 60;
  width: 238px;
  flex: 0 0 238px;
}
.tkk-category-menu__trigger {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: var(--tkk-blue-600);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tkk-category-menu__trigger .ti-angle-down {
  margin-left: auto;
  font-size: 11px;
}
.tkk-category-menu:hover .tkk-category-menu__trigger,
.tkk-category-menu.is-open .tkk-category-menu__trigger {
  background: var(--tkk-blue-700);
}

.tkk-main-menu {
  flex: 1 1 auto;
  width: auto;
  color: var(--tkk-ink);
}
.tkk-main-menu .bricks-nav-menu-wrapper,
.tkk-main-menu .bricks-nav-menu {
  width: 100%;
}
.tkk-main-menu .bricks-nav-menu {
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
}
.tkk-main-menu .bricks-nav-menu > li {
  margin: 0;
}
.tkk-main-menu .sub-menu {
  min-width: 230px;
  padding: 8px 0;
  border: 1px solid var(--tkk-border);
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: var(--tkk-shadow);
}
.tkk-main-menu .sub-menu a {
  padding: 9px 16px;
  color: var(--tkk-text);
  font-size: 13px;
}
.tkk-main-menu .sub-menu a:hover {
  background: var(--tkk-blue-050);
  color: var(--tkk-blue-700);
}
.tkk-main-menu .bricks-mobile-menu-toggle {
  color: #fff;
}
.tkk-main-menu .bricks-nav-menu > li > a {
  min-height: 52px;
  padding: 0 17px;
  color: #304764;
  font-size: 14px;
  font-weight: 500;
  line-height: 52px;
}
.tkk-main-menu .bricks-nav-menu > li:hover > a,
.tkk-main-menu .bricks-nav-menu > li.current-menu-item > a,
.tkk-main-menu .bricks-nav-menu > li.current-menu-ancestor > a {
  background: var(--tkk-blue-050);
  color: var(--tkk-blue-700);
}

.tkk-category-menu__mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  width: min(1080px, calc(100vw - 40px));
  min-height: 430px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dfe8f6;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(24, 52, 98, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
}
.tkk-category-menu:hover .tkk-category-menu__mega,
.tkk-category-menu:focus-within .tkk-category-menu__mega,
.tkk-category-menu.is-open .tkk-category-menu__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.tkk-category-menu__parents {
  background: #fbfcff;
  border-right: 1px solid #e6edf8;
}
.tkk-category-menu__parent {
  min-height: 54px;
  padding: 7px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid #edf2fa;
  color: #304764;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.tkk-category-menu__parent:hover,
.tkk-category-menu__parent.is-active {
  background: #fff;
  color: var(--tkk-blue-700);
  box-shadow: inset 3px 0 0 var(--tkk-blue-600);
}
.tkk-category-menu__parent-media {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #7899d2;
}
.tkk-category-menu__parent-media img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.tkk-category-menu__parent > .ti-angle-right {
  justify-self: end;
  font-size: 10px;
}
.tkk-category-menu__panels {
  position: relative;
  min-width: 0;
  padding: 18px;
}
.tkk-category-menu__panel {
  display: none;
}
.tkk-category-menu__panel.is-active {
  display: block;
}
.tkk-category-menu__panel-head {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tkk-category-menu__panel-head strong {
  color: var(--tkk-ink);
  font-size: 17px;
}
.tkk-category-menu__panel-head a {
  color: var(--tkk-blue-700);
  font-size: 12px;
  text-decoration: none;
}
.tkk-category-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.tkk-category-menu__tile {
  min-height: 70px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 7px;
  align-items: center;
  border: 1px solid #e5ebf4;
  border-radius: 7px;
  background: #f9fafc;
  color: #3c4f69;
  font-size: 13px;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.tkk-category-menu__tile:hover {
  border-color: #bfd0ee;
  background: var(--tkk-blue-050);
  color: var(--tkk-blue-700);
}
.tkk-category-menu__tile-media {
  width: 54px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #7899d2;
  font-size: 22px;
}
.tkk-category-menu__tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1220px) {
  .tkk-header-main__inner {
    gap: 12px;
  }
  .tkk-header-tool--store {
    display: none;
  }
  .tkk-header-tool__copy strong {
    max-width: 92px;
  }
  .tkk-category-menu {
    width: 220px;
    flex-basis: 220px;
  }
  .tkk-category-menu__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .tkk-header-main__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .tkk-header-tools {
    gap: 2px;
  }
  .tkk-header-tool--store,
  .tkk-header-tool--tracking {
    display: none;
  }
  .tkk-header-tool__copy,
  .tkk-mini-cart-trigger__copy {
    display: none;
  }
  .tkk-header-tool,
  .tkk-mini-cart-trigger {
    width: 44px;
    min-height: 44px;
    padding: 5px;
    justify-content: center;
  }
  .tkk-header-tool__icon {
    width: 34px;
    height: 34px;
  }
  .tkk-mini-cart-count {
    top: 0;
    left: 27px;
  }
  .tkk-mini-cart-panel {
    position: fixed;
    top: 112px;
    right: 12px;
  }

  .tkk-header-nav__inner {
    position: relative;
    min-height: 48px;
  }
  .tkk-category-menu {
    width: auto;
    flex: 0 0 auto;
  }
  .tkk-category-menu__trigger {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
  .tkk-category-menu__trigger span,
  .tkk-category-menu__trigger .ti-angle-down {
    display: none;
  }
  .tkk-category-menu__mega {
    width: min(720px, calc(100vw - 28px));
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .tkk-category-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tkk-main-menu {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .tkk-header-tool--phone {
    display: none;
  }
  .tkk-mini-cart-panel {
    top: 104px;
    right: 8px;
    max-width: calc(100vw - 16px);
  }
  .tkk-category-menu__mega {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(320px, calc(100vw - 22px));
    height: auto;
    max-height: 70vh;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 0 0 10px 10px;
    overflow-y: auto;
  }
  .tkk-category-menu__parents {
    border-right: 0;
  }
  .tkk-category-menu__panels {
    display: none;
  }
}

/* ---------- Brand lockup ---------- */
.tkk-header-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  align-items: center;
}

.tkk-header-logo {
  width: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: var(--tkk-blue-800);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.tkk-header-logo img,
.tkk-header-logo .bricks-site-logo {
  max-height: 68px;
}

.tkk-header-brand-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  display: block;
  color: var(--tkk-blue-800);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tkk-header-brand-title br {
  display: block;
}

.tkk-header-brand-note {
  display: none !important;
}

@media (min-width: 1221px) {
  .tkk-header-main__inner {
    grid-template-columns: minmax(330px, 390px) minmax(320px, 1fr) auto;
  }
}

@media (max-width: 1220px) and (min-width: 992px) {
  .tkk-header-main__inner {
    grid-template-columns: minmax(285px, 320px) minmax(280px, 1fr) auto;
  }

  .tkk-header-logo img,
  .tkk-header-logo .bricks-site-logo {
    max-height: 62px;
  }

  .tkk-header-brand-title {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .tkk-header-logo img,
  .tkk-header-logo .bricks-site-logo {
    max-height: 56px;
  }

  .tkk-header-brand-title {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .tkk-header-brand {
    column-gap: 8px;
  }

  .tkk-header-logo img,
  .tkk-header-logo .bricks-site-logo {
    max-height: 48px;
  }

  .tkk-header-brand-title {
    font-size: 12px;
    line-height: 1.15;
  }
}

/* ---------- Footer: native Bricks template ---------- */

.tkk-footer-main {
  padding: 50px 0 44px;
  background: #3768b8;
  color: rgba(255, 255, 255, 0.86);
}

.tkk-footer-grid {
  padding: 0;
  display: grid !important;
  grid-template-columns: minmax(300px, 1.45fr) minmax(190px, 0.8fr) minmax(
      240px,
      0.9fr
    );
  gap: 64px;
  align-items: start;
}

.tkk-footer-column {
  width: auto;
  min-width: 0;
}

.tkk-footer-logo {
  width: auto;
  margin-bottom: 14px;
  color: #fff;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tkk-footer-logo a {
  color: inherit;
}

.tkk-footer-logo img,
.tkk-footer-logo .bricks-site-logo {
  width: auto;
  max-width: 270px;
  max-height: 62px;
  object-fit: contain;
}

.tkk-footer-description,
.tkk-footer-contact,
.tkk-footer-hours {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
}

.tkk-footer-contact {
  margin-top: 15px;
  color: #fff;
  font-weight: 500;
}

.tkk-footer-heading {
  position: relative;
  margin: 0 0 19px;
  padding-bottom: 11px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.tkk-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: #a9c7fb;
}

.tkk-footer-menu .bricks-mobile-menu-toggle {
  display: none !important;
}

.tkk-footer-menu .bricks-nav-menu-wrapper {
  display: block !important;
}

.tkk-footer-menu .bricks-nav-menu {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.tkk-footer-menu .bricks-nav-menu li {
  margin: 0;
}

.tkk-footer-menu .bricks-nav-menu a {
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

.tkk-footer-menu .bricks-nav-menu a:hover {
  color: #fff;
}

.tkk-footer-support {
  gap: 9px;
}

.tkk-footer-support-link {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.tkk-footer-support-link:hover {
  color: #dce9ff;
}

.tkk-footer-hours {
  margin-top: 7px;
}

.tkk-footer-bottom {
  min-height: 50px;
  padding: 0;
  background: #2f5da5;
  color: rgba(255, 255, 255, 0.7);
}

.tkk-footer-bottom__inner {
  min-height: 50px;
  padding: 0;
}

.tkk-footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

/* ---------- Global responsive layout ---------- */
@media (max-width: 1180px) {
  .tkk-footer-grid {
    gap: 40px;
  }
}
@media (max-width: 991px) {
  .tkk-header-top__inner,
  .tkk-header-main__inner,
  .tkk-header-nav__inner,
  .tkk-footer-grid,
  .tkk-footer-bottom__inner {
    width: calc(100% - 28px);
  }
  .tkk-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .tkk-footer-grid {
    grid-template-columns: 1.25fr 0.8fr 0.9fr;
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .tkk-header-top {
    min-height: 32px;
  }
  .tkk-header-top__inner {
    min-height: 32px;
    justify-content: center !important;
  }
  .tkk-header-address {
    display: none;
  }
  .tkk-header-top-phone {
    font-size: 12px;
  }
  .tkk-footer-main {
    padding: 38px 0 34px;
  }
  .tkk-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 26px;
  }
  .tkk-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .tkk-header-top__inner,
  .tkk-header-main__inner,
  .tkk-header-nav__inner,
  .tkk-footer-grid,
  .tkk-footer-bottom__inner {
    width: calc(100% - 22px);
  }
  .tkk-footer-grid {
    grid-template-columns: 1fr;
  }
  .tkk-footer-brand {
    grid-column: auto;
  }
}

/* ================================================================
   Shared WooCommerce product card / grid
   ================================================================ */

/* ---------- Reusable product card ---------- */

.tkk-product-card {
  position: relative;
  min-width: 0;
  padding: 10px 10px 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: var(--tkk-ink, #182033);
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.tkk-product-card:hover {
  z-index: 2;
  border-color: #cbd9f1;
  box-shadow: 0 8px 24px rgba(47, 102, 200, 0.09);
}

.tkk-product-card a {
  color: inherit;
  text-decoration: none;
}

.tkk-product-card > a.woocommerce-LoopProduct-link,
.tkk-product-card > a.woocommerce-loop-product__link {
  display: block;
}

.tkk-product-card img,
.tkk-product-card img.attachment-woocommerce_thumbnail,
.tkk-product-card img.wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 0 10px;
  padding: 4px;
  display: block;
  object-fit: contain;
  background: #fff;
}

.tkk-product-card .woocommerce-loop-product__title {
  min-height: 2.75em;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.38;
}

.tkk-product-card:hover .woocommerce-loop-product__title {
  color: var(--tkk-blue-700, #2f66c8);
}

.tkk-product-card .price {
  min-height: 22px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  color: #ef2b2d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.tkk-product-card .price ins {
  order: 1;
  color: #ef2b2d;
  font-weight: 700;
  text-decoration: none;
}

.tkk-product-card .price > .woocommerce-Price-amount,
.tkk-product-card .price ins .woocommerce-Price-amount {
  color: #ef2b2d;
}

.tkk-product-card .price del {
  order: 2;
  color: #aeb4bd;
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}

.tkk-product-card .price del .woocommerce-Price-amount {
  color: inherit;
}

.tkk-product-card__rating {
  min-height: 18px;
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f59e0b;
  line-height: 1;
}

.tkk-product-card__rating .star-rating {
  width: 5.4em;
  margin: 0;
  float: none;
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 0;
}

.tkk-product-card__review-count {
  color: #111827;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.tkk-product-card__features {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tkk-product-card__features > span {
  min-height: 22px;
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  background: #fff;
  color: #545d6c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.tkk-product-card__promo {
  margin-top: 9px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #202735;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  align-items: center;
}

.tkk-product-card__gift {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

/* The reference card does not show archive add-to-cart buttons. */
.tkk-product-card > .button,
.tkk-product-card > .added_to_cart,
.tkk-product-card > form.cart,
.tkk-product-card > .brx-loop-product-form {
  display: none !important;
}

/* ---------- Reusable connected Products grid ---------- */

.tkk-products .products {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  list-style: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}

.tkk-products .products .tkk-product-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  border: 0;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: none;
}

.tkk-products .products .tkk-product-card:hover {
  box-shadow: inset 0 0 0 1px #c9d8f2;
}

.tkk-products .bricks-products-widgets.after {
  margin-top: 22px;
}

.tkk-products .woocommerce-pagination {
  width: 100%;
  margin: 0;
}

.tkk-products .woocommerce-pagination ul.page-numbers {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  border: 0;
}

.tkk-products .woocommerce-pagination ul.page-numbers li {
  margin: 0;
  border: 0;
}

.tkk-products .woocommerce-pagination .page-numbers a,
.tkk-products .woocommerce-pagination .page-numbers span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3ee;
  border-radius: 5px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  line-height: 1;
}

.tkk-products .woocommerce-pagination .page-numbers .current,
.tkk-products .woocommerce-pagination .page-numbers a:hover {
  border-color: var(--tkk-blue-600, #4078d5);
  background: var(--tkk-blue-600, #4078d5);
  color: #fff;
}

/* ---------- Product card responsive ---------- */
@media (max-width: 991px) {
  .tkk-product-card {
    padding: 9px 9px 13px;
  }
  .tkk-product-card .woocommerce-loop-product__title {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .tkk-product-card .woocommerce-loop-product__title {
    min-height: 2.7em;
    font-size: 14px;
  }
  .tkk-product-card .price {
    font-size: 15px;
  }
  .tkk-product-card__features {
    gap: 4px;
  }
  .tkk-product-card__features > span {
    min-height: 20px;
    padding-inline: 5px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .tkk-product-card {
    padding: 7px 7px 11px;
  }
  .tkk-product-card img,
  .tkk-product-card img.attachment-woocommerce_thumbnail,
  .tkk-product-card img.wp-post-image {
    margin-bottom: 7px;
    padding: 1px;
  }
  .tkk-product-card .woocommerce-loop-product__title {
    font-size: 14px;
  }
  .tkk-product-card .price {
    gap: 3px 5px;
    font-size: 15px;
  }
  .tkk-product-card .price del,
  .tkk-product-card__rating .star-rating,
  .tkk-product-card__review-count,
  .tkk-product-card__promo {
    font-size: 12px;
  }
  .tkk-product-card__rating {
    gap: 4px;
  }
}

/* ---------- Shared sale ribbon ---------- */
.tkk-product-card .onsale.tkk-product-sale-badge {
  position: absolute;
  top: 0;
  right: 8px;
  z-index: 4;
  min-width: 46px;
  min-height: 48px;
  margin: 0;
  padding: 7px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ff2d6f 0%, #f20b57 58%, #d90849 100%);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(197, 10, 72, 0.22);
  transform-origin: top center;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.tkk-product-card:hover .onsale.tkk-product-sale-badge {
  transform: translateY(1px);
  filter: saturate(1.08);
}
.tkk-product-card .onsale.tkk-product-sale-badge::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  right: 5px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.tkk-product-card .onsale.tkk-product-sale-badge span {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}
.tkk-product-card .tkk-product-sale-badge strong {
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 480px) {
  .tkk-product-card .onsale.tkk-product-sale-badge {
    right: 5px;
    min-width: 42px;
    min-height: 44px;
    padding: 6px 5px 11px;
  }
  .tkk-product-card .onsale.tkk-product-sale-badge span,
  .tkk-product-card .tkk-product-sale-badge strong {
    font-size: 12px;
  }
}

form.cart .quantity .minus,
form.cart .quantity .plus,
form.woocommerce-cart-form .quantity .minus,
form.woocommerce-cart-form .quantity .plus {
  border: 0;
}
