/* HCK product detail experience — desktop and mobile */
body.single-product {
  --hck-product-ink: #172026;
  --hck-product-muted: #5c6870;
  --hck-product-line: #dfe5e8;
  --hck-product-soft: #f4f6f6;
  --hck-product-accent: #b85a2b;
  background: #f5f6f4 !important;
}

body.single-product #main {
  overflow: hidden;
  background: radial-gradient(circle at 8% 14%, rgba(183, 206, 216, .22), transparent 32%), #f5f6f4;
}

body.single-product .product-main {
  padding: 52px 0 68px !important;
}

body.single-product .product-main > .row {
  width: min(1240px, calc(100% - 56px));
  max-width: none;
  gap: 52px;
  align-items: flex-start;
}

body.single-product .product-gallery,
body.single-product .product-info {
  padding: 0;
}

body.single-product .product-gallery {
  position: sticky;
  top: 116px;
  width: calc(56% - 26px);
  max-width: calc(56% - 26px);
  flex-basis: calc(56% - 26px);
  overflow: hidden;
  border: 1px solid rgba(223, 229, 232, .88);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #eef1f1);
  box-shadow: 0 28px 70px rgba(23, 32, 38, .10);
}

body.single-product .product-gallery .product-images {
  margin: 0 !important;
}

body.single-product .product-gallery .product-images > .flickity-viewport,
body.single-product .product-gallery .woocommerce-product-gallery__image {
  min-height: 560px;
}

body.single-product .product-gallery .woocommerce-product-gallery__image a {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

body.single-product .product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.single-product .product-gallery .product-thumbnails {
  padding: 0 24px 24px;
}

body.single-product .product-gallery .product-thumbnails img {
  border: 1px solid var(--hck-product-line);
  border-radius: 12px;
  background: #fff;
}

body.single-product .product-info {
  width: calc(44% - 26px);
  max-width: calc(44% - 26px);
  flex-basis: calc(44% - 26px);
  padding: 42px 42px 36px;
  border: 1px solid rgba(223, 229, 232, .92);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 70px rgba(23, 32, 38, .08);
}

body.single-product .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #7a858c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

body.single-product .woocommerce-breadcrumb a {
  color: #526068;
}

.hck-product-eyebrow,
.hck-product-tab-kicker {
  margin: 0 0 12px !important;
  color: #66757d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.single-product .product-title {
  margin: 0 0 18px;
  color: var(--hck-product-ink);
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 850;
}

body.single-product .product-info .is-divider,
body.single-product .next-prev-thumbs,
body.single-product .social-icons,
body.single-product .product_meta > span.tagged_as {
  display: none !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin: 0 0 28px;
  color: var(--hck-product-muted);
  font-size: 17px;
  line-height: 1.7;
}

.hck-product-actions {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  margin: 28px 0 24px;
}

.hck-product-actions .button,
.hck-product-support-links .button {
  min-height: 50px;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hck-product-primary-cta {
  border-color: var(--hck-product-accent) !important;
  color: #fff !important;
  background: var(--hck-product-accent) !important;
  box-shadow: 0 14px 30px rgba(184, 90, 43, .24);
}

.hck-product-secondary-cta {
  border-color: #95a3aa !important;
  color: #344249 !important;
  background: transparent !important;
}

.hck-product-actions .button:hover,
.hck-product-support-links .button:hover {
  transform: translateY(-2px);
}

.hck-product-assurance {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--hck-product-line);
  border-radius: 18px;
  background: var(--hck-product-soft);
}

.hck-product-assurance span {
  position: relative;
  min-height: 66px;
  display: grid;
  gap: 2px;
  padding: 14px 18px 14px 46px;
  border-bottom: 1px solid var(--hck-product-line);
}

.hck-product-assurance span:last-child {
  border-bottom: 0;
}

.hck-product-assurance span:before {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #76909b;
  border-radius: 50%;
  color: #526d78;
  content: "✓";
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.hck-product-assurance strong {
  color: var(--hck-product-ink);
  font-size: 13px;
}

.hck-product-assurance small {
  color: var(--hck-product-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.single-product .product_meta {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--hck-product-line);
  color: #6b777d;
  font-size: 12px;
}

body.single-product .product-footer {
  padding: 76px 0 0;
  background: #fff;
}

body.single-product .woocommerce-tabs {
  width: min(1120px, calc(100% - 56px));
  max-width: none;
  margin: 0 auto 82px;
  padding: 0;
  scroll-margin-top: 112px;
}

body.single-product .woocommerce-tabs .product-tabs {
  gap: 10px;
  margin: 0 0 34px;
  border: 0;
}

body.single-product .woocommerce-tabs .product-tabs li {
  margin: 0;
}

body.single-product .woocommerce-tabs .product-tabs a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--hck-product-line);
  border-radius: 999px;
  color: #536169;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  background: #f7f8f7;
}

body.single-product .woocommerce-tabs .product-tabs li.active a,
body.single-product .woocommerce-tabs .product-tabs a:hover {
  border-color: #3e4b55;
  color: #fff;
  background: #3e4b55;
}

body.single-product .woocommerce-tabs .tab-panels {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--hck-product-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 32, 38, .07);
}

body.single-product .woocommerce-tabs .panel {
  color: #435159;
  font-size: 16px;
  line-height: 1.78;
}

body.single-product .woocommerce-tabs .panel > :first-child {
  margin-top: 0;
}

body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3 {
  color: var(--hck-product-ink);
  letter-spacing: -.035em;
}

body.single-product .woocommerce-tabs .panel h2 {
  font-size: clamp(30px, 4vw, 48px);
}

body.single-product .woocommerce-tabs .panel img {
  height: auto;
  border-radius: 20px;
}

body.single-product .woocommerce-product-attributes,
body.single-product .woocommerce-tabs .panel table {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: #f7f8f7;
}

body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td,
body.single-product .woocommerce-tabs .panel table th,
body.single-product .woocommerce-tabs .panel table td {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--hck-product-line);
  text-align: left;
  vertical-align: top;
}

body.single-product .woocommerce-product-attributes tr:last-child th,
body.single-product .woocommerce-product-attributes tr:last-child td,
body.single-product .woocommerce-tabs .panel table tr:last-child th,
body.single-product .woocommerce-tabs .panel table tr:last-child td {
  border-bottom: 0;
}

body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-tabs .panel table th {
  width: 36%;
  color: #27343b;
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.hck-product-tab-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.hck-product-tab-heading p:last-child {
  margin-bottom: 0;
  color: var(--hck-product-muted);
}

.hck-product-empty-spec {
  padding: 22px;
  border: 1px dashed #b9c4c9;
  border-radius: 16px;
  color: #5a6870;
  background: #f7f8f7;
}

.hck-product-empty-description {
  padding: 18px 20px;
  border: 1px dashed rgba(67, 78, 87, 0.28);
  border-radius: 14px;
  color: #5d6870;
  background: #f7f8f8;
}

.hck-product-description-body {
  color: #39454d;
  font-size: 16px;
  line-height: 1.75;
}

.hck-product-description-body > :first-child {
  margin-top: 0;
}

.hck-product-description-body > :last-child {
  margin-bottom: 0;
}

.hck-product-description-body h2,
.hck-product-description-body h3 {
  color: #1f2a30;
  line-height: 1.25;
}

.hck-product-description-body img {
  height: auto;
  border-radius: 18px;
}

.hck-product-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.single-product .related-products-wrapper {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 96px;
  border: 0;
}

body.single-product .related-products-wrapper .product-section-title {
  margin: 0 0 34px;
  border: 0;
  color: var(--hck-product-ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 850;
  letter-spacing: -.04em;
  text-transform: none;
}

body.single-product .related-products-wrapper .product-small .col-inner {
  height: 100%;
  padding: 12px;
  border: 1px solid var(--hck-product-line);
  border-radius: 20px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

body.single-product .related-products-wrapper .product-small .col-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23, 32, 38, .09);
}

body.single-product .related-products-wrapper .box-image,
body.single-product .related-products-wrapper .box-image img {
  border-radius: 14px;
}

.hck-mobile-product-bar {
  display: none;
}

@media (max-width: 849px) {
  body.single-product {
    padding-bottom: 78px;
  }

  body.single-product .product-main {
    padding: 116px 0 48px !important;
  }

  body.single-product .product-main > .row {
    width: min(100% - 28px, 720px);
    display: block;
  }

  body.single-product .product-gallery,
  body.single-product .product-info {
    position: static;
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }

  body.single-product .product-gallery {
    margin-bottom: 18px;
    border-radius: 22px;
  }

  body.single-product .product-gallery .product-images > .flickity-viewport,
  body.single-product .product-gallery .woocommerce-product-gallery__image {
    min-height: 390px;
  }

  body.single-product .product-gallery .woocommerce-product-gallery__image a {
    min-height: 390px;
    padding: 24px;
  }

  body.single-product .product-gallery .woocommerce-product-gallery__image img {
    height: 350px;
  }

  body.single-product .product-info {
    padding: 30px 24px 26px;
    border-radius: 22px;
  }

  body.single-product .product-title {
    font-size: clamp(38px, 10vw, 54px);
  }

  .hck-product-actions {
    grid-template-columns: 1fr;
  }

  body.single-product .product-footer {
    padding-top: 52px;
  }

  body.single-product .woocommerce-tabs,
  body.single-product .related-products-wrapper {
    width: min(100% - 28px, 720px);
  }

  body.single-product .woocommerce-tabs .product-tabs {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  body.single-product .woocommerce-tabs .product-tabs li {
    width: 100%;
  }

  body.single-product .woocommerce-tabs .product-tabs li a {
    width: 100%;
    justify-content: center;
  }

  body.single-product .woocommerce-tabs .tab-panels {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .hck-mobile-product-bar {
    position: fixed;
    z-index: 999;
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px 9px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    color: #fff;
    background: rgba(23, 32, 38, .95);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
  }

  .hck-mobile-product-bar span {
    min-width: 0;
    display: grid;
  }

  .hck-mobile-product-bar small {
    color: rgba(255, 255, 255, .66);
    font-size: 10px;
    text-transform: uppercase;
  }

  .hck-mobile-product-bar strong {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hck-mobile-product-bar a {
    min-width: 126px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--hck-product-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media (max-width: 420px) {
  body.single-product .product-gallery .product-images > .flickity-viewport,
  body.single-product .product-gallery .woocommerce-product-gallery__image,
  body.single-product .product-gallery .woocommerce-product-gallery__image a {
    min-height: 330px;
  }

  body.single-product .product-gallery .woocommerce-product-gallery__image img {
    height: 292px;
  }

  body.single-product .woocommerce-product-attributes th,
  body.single-product .woocommerce-product-attributes td,
  body.single-product .woocommerce-tabs .panel table th,
  body.single-product .woocommerce-tabs .panel table td {
    width: 100%;
    display: block;
    padding: 12px 14px;
  }

  body.single-product .woocommerce-product-attributes th,
  body.single-product .woocommerce-tabs .panel table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  body.single-product .woocommerce-product-attributes td,
  body.single-product .woocommerce-tabs .panel table td {
    padding-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hck-product-actions .button,
  .hck-product-support-links .button,
  body.single-product .related-products-wrapper .product-small .col-inner {
    transition: none !important;
  }
}

/* FAQ: clear touch targets and a visible open/close state. */
.single-product .hck-product-faq details {
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid #e6ded5;
  border-radius: 14px;
  background: #fff;
}

.single-product .hck-product-faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--hck-product-ink);
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

.single-product .hck-product-faq summary::-webkit-details-marker {
  display: none;
}

.single-product .hck-product-faq summary::after {
  flex: 0 0 auto;
  color: var(--hck-product-accent);
  content: "+";
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.single-product .hck-product-faq details[open] summary {
  border-bottom: 1px solid #eee7df;
  background: #fbf7f2;
}

.single-product .hck-product-faq details[open] summary::after {
  content: "\2212";
}

.single-product .hck-product-faq details p {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--hck-product-muted);
  line-height: 1.7;
}

.single-product .hck-product-faq details:focus-within {
  outline: 3px solid rgba(184, 90, 43, .28);
  outline-offset: 3px;
}
