/* Coathreads final storefront polish. */

/* One clean mobile/desktop bag notice. */
.woocommerce-message.coat-polish-bag-notice,
.woocommerce-message:has(.coat-polish-bag-notice__copy) {
  border: 1px solid var(--coat-line, #d8d2c8) !important;
  border-top: 1px solid var(--coat-line, #d8d2c8) !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: none !important;
}

.woocommerce-message.coat-polish-bag-notice::before,
.woocommerce-message.coat-polish-bag-notice::after,
.woocommerce-message:has(.coat-polish-bag-notice__copy)::before,
.woocommerce-message:has(.coat-polish-bag-notice__copy)::after {
  display: none !important;
}

.coat-polish-bag-notice__copy small,
.coat-polish-bag-notice__copy span {
  display: none !important;
}

.coat-polish-bag-notice__copy strong {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

/* Custom embroidery: simple, familiar and easy to read. */
.coat-custom-feature { min-height: 490px !important; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr) !important; background: #eeece7 !important; border: 1px solid var(--coat-line, #ddd7cc); color: #151515 !important; }
.coat-custom-feature__products { min-height: 490px !important; gap: 1px !important; background: var(--coat-line, #ddd7cc) !important; }
.coat-custom-feature__products a { background: #f4f1eb !important; }
.coat-custom-feature__products img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: clamp(12px, 2vw, 36px); }
.coat-custom-feature__copy { min-height: 490px !important; background: #eeece7 !important; color: #151515 !important; border-left: 1px solid var(--coat-line, #ddd7cc); padding: clamp(35px, 5vw, 85px) !important; justify-content: center !important; }
.coat-custom-feature__copy::before { content: none !important; display: none !important; }
.coat-custom-feature__copy .coat-kicker { color: #67625b !important; letter-spacing: .12em; font-size: 10px; }
.coat-custom-feature__copy h2 { font-family: var(--coat-display, Georgia, serif); font-weight: 400; font-size: clamp(45px, 5vw, 76px) !important; letter-spacing: -.045em; line-height: 1.02 !important; }
.coat-custom-feature__copy > p:not(.coat-kicker) { color: #625e58 !important; font-size: 14px !important; line-height: 1.7; max-width: 420px; margin: 19px 0 29px !important; }
.coat-custom-feature__copy .coat-button { background: transparent !important; color: #151515 !important; border: 1px solid #151515 !important; min-height: 47px; width: fit-content; }
.coat-custom-feature__copy .coat-button:hover { background: #151515 !important; color: #fff !important; }
@media(max-width:900px) { .coat-custom-feature { grid-template-columns: 1fr !important; } .coat-custom-feature__products { min-height: 340px !important; } .coat-custom-feature__copy { min-height: 340px !important; border-top: 1px solid var(--coat-line, #ddd7cc); border-left: none; } }

/* Keep the sticky mobile purchase bar from covering footer/legal navigation. */
.coat-polish-mobile-buy-bar:not(.is-visible) {
  pointer-events: none !important;
}

.coat-polish-mobile-buy-bar .coat-mobile-buy-bar__price .screen-reader-text {
  display: none !important;
}

.coat-polish-mobile-buy-bar .coat-mobile-buy-bar__price del,
.coat-polish-mobile-buy-bar .coat-mobile-buy-bar__price ins {
  display: inline;
  font-size: inherit;
}

.coat-polish-mobile-buy-bar .coat-mobile-buy-bar__price ins {
  text-decoration: none;
}



@media (max-width: 767px) {
  .woocommerce-message.coat-polish-bag-notice,
  .woocommerce-message:has(.coat-polish-bag-notice__copy) {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 10px !important;
    padding: 13px 14px !important;
  }

  .coat-polish-bag-notice__copy {
    grid-column: auto !important;
    min-width: 0;
  }

  .coat-polish-bag-notice__copy strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .woocommerce-message:has(.coat-polish-bag-notice__copy) .coat-bag-notice__action {
    min-height: 40px !important;
    padding: 0 12px !important;
  }

  .woocommerce-message:has(.coat-polish-bag-notice__copy) .coat-bag-notice__close {
    width: 36px !important;
    min-height: 40px !important;
  }

  .coat-custom-feature__products {
    grid-template-columns: 1fr 1fr !important;
    min-height: 340px !important;
  }

  .coat-custom-feature__products img {
    padding: 12px;
  }

  .coat-custom-feature__copy {
    min-height: 390px;
    padding: 42px 24px !important;
  }

  .coat-custom-feature__copy h2 {
    font-size: clamp(38px, 13vw, 58px) !important;
  }

  .coat-custom-feature__copy .coat-button {
    width: 100%;
  }
}

.coat-custom-feature.coat-custom-feature--copy-only { grid-template-columns: 1fr !important; }
