.header-tools a {
  display: flex;
  min-width: 105px;
  min-height: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
  border-left: 1px solid #e4e4e4;
  color: var(--ink-soft);
  font-size: 13px;
}

.header-tools a:last-child {
  border-right: 1px solid #e4e4e4;
}

.header-tools a:hover {
  color: var(--gold-dark);
}

.header-tools a svg {
  width: 21px;
  height: 21px;
}

.store-page {
  min-height: 60vh;
  padding: 62px 0 80px;
}

.store-page__inner {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
}

.page-header h1,
.store-page h1 {
  margin: 0 0 30px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.entry-content {
  color: #4c4c48;
  font-size: 15px;
  line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
  color: var(--ink);
}

.woocommerce-notices-wrapper {
  width: min(calc(100% - 64px), var(--content));
  margin: 20px auto;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-top: 2px solid var(--gold);
  background: #f7f5ef;
  color: #41413d;
  font-size: 13px;
  list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--gold-dark);
}

.woocommerce-error {
  border-color: #b73a3a;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce #respond input#submit {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 0;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover {
  background: var(--gold-dark);
  color: white;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 44px;
  border: 1px solid #d1d1cc;
  padding: 9px 12px;
  background: white;
}

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

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px 12px;
  border-color: var(--line);
}

.woocommerce-cart-form__contents img {
  width: 76px;
  height: auto;
}

.single-product .mobile-buy-bar {
  display: none;
}

.single-product-info .single-product-description {
  color: #515151;
  font-size: 15px;
  line-height: 1.75;
}

.single-product-info form.cart {
  margin: 0;
}

.single-product-info .single_add_to_cart_button.disabled {
  opacity: 0.5;
}

.product-details-section .woocommerce-product-rating {
  margin: 0 0 22px;
}

.product-details-section #reviews {
  max-width: 780px;
}

.product-details-section .comment-form {
  display: grid;
  gap: 12px;
}

.product-details-section .comment-form input[type="text"],
.product-details-section .comment-form input[type="email"],
.product-details-section .comment-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
}

.product-details-section .comment-form input[type="submit"] {
  width: fit-content;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

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

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

.woocommerce-pagination a,
.woocommerce-pagination span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
}

.woocommerce-pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.woocommerce-message .button {
  min-height: 34px;
}

.woocommerce-store-notice {
  background: var(--gold-dark);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.admin-bar .desktop-nav {
  top: 32px;
}

@media (max-width: 1180px) {
  .header-tools a {
    min-width: 90px;
    padding-inline: 9px;
  }
}

@media (max-width: 900px) {
  .header-tools {
    display: none;
  }

  .store-page {
    padding: 42px 0 64px;
  }

  .store-page__inner,
  .woocommerce-notices-wrapper {
    width: calc(100% - 32px);
  }

  .single-product .mobile-buy-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 75;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 7px 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    background: #191919;
    color: white;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .single-product .mobile-buy-bar.is-suppressed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .single-product .mobile-buy-bar > span {
    font-size: 13px;
    font-weight: 700;
  }

  .single-product .mobile-buy-bar > button {
    min-width: 124px;
    min-height: 44px;
    border-radius: 6px;
    background: #2863e6;
    color: white;
    font-size: 13px;
    font-weight: 700;
  }

  body.single-product {
    padding-bottom: 82px;
  }

  .woocommerce-cart-form {
    overflow-x: auto;
  }

  body.admin-bar .desktop-nav {
    top: 46px;
  }
}
