/* Layout for the LocknLock Clip Tumbler product. */
body.postid-4988 {
  --gc4988-ink: #26211e;
  --gc4988-muted: #5e554e;
  --gc4988-line: #e8ddd3;
  --gc4988-paper: #fcfaf7;
  --gc4988-tint: #f7f0e8;
  --gc4988-accent: #a3341c;
}
.gc4988-page {
  color: var(--gc4988-ink);
  background: var(--gc4988-paper);
}
.gc4988-page :is(.gc4988-breadcrumb, .gc4988-hero, .gc4988-content) {
  width: calc(100% - 64px);
  max-width: 1160px;
  margin-inline: auto;
}
.gc4988-page :is(.gc4988-breadcrumb, .gc4988-hero, .gc4988-content) > .col {
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.gc4988-breadcrumb {
  padding: 18px 0 16px;
}
.gc4988-breadcrumb .breadcrumbs {
  margin: 0;
  color: var(--gc4988-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  overflow-wrap: anywhere;
}
.gc4988-breadcrumb .breadcrumbs a {
  color: inherit;
}
.gc4988-page .gc4988-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas: "gallery title" "gallery summary";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 16px clamp(28px, 4vw, 64px);
  padding-bottom: clamp(26px, 4vw, 58px);
}
.gc4988-title { grid-area: title; }
.gc4988-gallery { grid-area: gallery; }
.gc4988-summary { grid-area: summary; }
.gc4988-title h1.product-title {
  margin: 7px 0 0;
  color: var(--gc4988-ink);
  font-size: clamp(28px, 3.05vw, 44px);
  font-weight: 740;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.gc4988-title .is-divider { display: none; }
.gc4988-gallery .product-images {
  max-width: 520px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: #f2e8dc;
  isolation: isolate;
}
.gc4988-gallery .product-gallery-slider {
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--gc4988-line);
  border-radius: inherit;
}
.gc4988-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.gc4988-gallery .image-tools {
  opacity: 1;
}
.gc4988-gallery .image-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  background: #fff;
  border-color: var(--gc4988-line);
  color: var(--gc4988-ink);
}
#product-4988 .gc4988-gallery .product-thumbnails.row {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
#product-4988 .gc4988-gallery .product-thumbnails .col {
  flex-basis: 20%;
  max-width: 20%;
  padding: 0 3px;
}
.gc4988-gallery .product-thumbnails a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--gc4988-line);
  border-radius: 12px;
  background: #fff;
}
.gc4988-gallery .product-thumbnails img {
  width: clamp(51px, 7vw, 79px);
  aspect-ratio: 1;
  object-fit: cover;
  opacity: .86;
}
.gc4988-gallery .product-thumbnails .is-nav-selected a {
  border-color: var(--gc4988-accent);
  box-shadow: inset 0 0 0 1px var(--gc4988-accent);
}
.gc4988-gallery .product-thumbnails .is-nav-selected img { opacity: 1; }

#product-4988 .gc4988-summary .product-short-description {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gc4988-muted);
  font-size: 16px;
  line-height: 1.63;
}
.gc4988-summary .product-short-description p { margin: 0; }
#product-4988 .gc4988-summary .product-page-price { margin: 0; }
#product-4988 .gc4988-summary .product-page-price:has(*) { margin-bottom: 12px; }
.gc4988-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 14px 0;
  border-block: 1px solid var(--gc4988-line);
}
.gc4988-highlights > div { padding: 0 12px; }
.gc4988-highlights > div:first-child { padding-left: 0; }
.gc4988-highlights > div + div { border-left: 1px solid var(--gc4988-line); }
#product-4988 .gc4988-page dt {
  display: block;
  margin: 0;
  color: var(--gc4988-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
#product-4988 .gc4988-page dd {
  display: block;
  text-transform: none;
  margin: 4px 0 0;
  color: var(--gc4988-ink);
  font-size: 16px;
  font-weight: 690;
  line-height: 1.42;
}
.gc4988-quote {
  padding: clamp(16px, 2.2vw, 25px);
  border: 1px solid var(--gc4988-line);
  border-radius: 20px;
  background: var(--gc4988-tint);
}
.gc4988-quote p {
  margin: 0 0 15px;
  color: var(--gc4988-muted);
  font-size: 14px;
  line-height: 1.5;
}
.gc4988-quote p.gc4988-quote-label {
  margin-bottom: 6px;
  color: var(--gc4988-ink);
  font-size: 19px;
  font-weight: 720;
}
.gc4988-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gc4988-actions p { display: contents; }
.gc4988-actions br { display: none; }
.gc4988-actions .gc4988-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px clamp(12px, 2vw, 24px);
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 690;
  line-height: 1.3;
  text-align: center;
}
.gc4988-actions .gc4988-action-main {
  color: #fff;
  background: var(--gc4988-accent);
}
.gc4988-actions .gc4988-action-main:hover { background: #842913; }
.gc4988-actions .gc4988-action-alt {
  border-color: #cfbeb0;
  color: var(--gc4988-ink);
  background: #fff;
}
.gc4988-actions .gc4988-action-alt:hover { background: #fdf8f3; }
.gc4988-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 9px;
}
.gc4988-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gc4988-muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gc4988-page a:focus-visible {
  outline: 2px solid var(--gc4988-accent);
  outline-offset: 3px;
}

.gc4988-story {
  display: grid;
  gap: clamp(26px, 5vw, 64px);
  padding: 0 0 clamp(36px, 6vw, 80px);
  color: var(--gc4988-muted);
  font-size: 16px;
  line-height: 1.65;
}
.gc4988-story section { scroll-margin-top: 145px; }
.gc4988-story h2 {
  margin: 0 0 13px;
  color: var(--gc4988-ink);
  font-size: clamp(24px, 2.55vw, 35px);
  line-height: 1.15;
  letter-spacing: -.024em;
}
.gc4988-story p { margin: 0 0 13px; }
.gc4988-story p:last-child { margin-bottom: 0; }
.gc4988-story p a {
  color: var(--gc4988-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gc4988-specs, .gc4988-occasion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 50px);
}
.gc4988-specs {
  align-items: start;
  padding: clamp(18px, 3.4vw, 38px);
  border: 1px solid var(--gc4988-line);
  border-radius: 22px;
  background: #fff;
}
.gc4988-spec-list { margin: 0; }
.gc4988-spec-list > div {
  display: grid;
  grid-template-columns: minmax(95px, .78fr) minmax(0, 1.55fr);
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gc4988-line);
}
.gc4988-spec-list > div:first-child { padding-top: 0; }
.gc4988-spec-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
#product-4988 .gc4988-spec-list dd { margin: 0; font-size: 14px; }
.gc4988-intro, .gc4988-branding { max-width: 780px; }
.gc4988-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 28px);
}
.gc4988-story figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gc4988-line);
  border-radius: 17px;
  background: #fff;
}
.gc4988-story figure img { display: block; width: 100%; height: auto; }
.gc4988-photo-grid figure img {
  max-height: 390px;
  object-fit: contain;
  background: #f8f3ed;
}
.gc4988-story figcaption {
  padding: 9px 12px 11px;
  color: var(--gc4988-muted);
  font-size: 13px;
  line-height: 1.45;
}
.gc4988-occasion {
  align-items: center;
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--gc4988-line);
}
body.postid-4988 #wpwidget .widget-preview-new-wrapper { display: none !important; }

@media (max-width: 849px) {
  .gc4988-page :is(.gc4988-breadcrumb, .gc4988-hero, .gc4988-content) {
    width: calc(100% - 28px);
  }
  .gc4988-breadcrumb { padding: 10px 0 11px; }
  .gc4988-breadcrumb .breadcrumbs {
    overflow: hidden;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .gc4988-page .gc4988-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "gallery" "summary";
    grid-template-rows: auto;
    gap: 13px;
  }
  .gc4988-title h1.product-title {
    margin-top: 0;
    font-size: clamp(23px, 5.8vw, 32px);
    text-wrap: pretty;
  }
  .gc4988-gallery .product-images {
    width: min(100%, clamp(228px, 67vw, 400px));
    margin-bottom: 6px;
    border-radius: 16px;
  }
  #product-4988 .gc4988-gallery .product-thumbnails.row { max-width: 395px; }
  .gc4988-gallery .product-thumbnails img { width: 52px; }
  .gc4988-summary > .col-inner { display: flex; flex-direction: column; }
  .gc4988-highlights { order: 1; }
  .gc4988-quote { order: 2; display: flex; flex-direction: column; }
  .gc4988-quote p:nth-child(2) { order: 3; margin: 9px 0 0; }
  #product-4988 .gc4988-summary .product-short-description {
    order: 4;
    margin: 13px 0 0;
    font-size: 15px;
    line-height: 1.55;
  }
  .gc4988-jumps { order: 5; }
  .gc4988-highlights { padding-block: 10px; margin-bottom: 13px; }
  .gc4988-highlights > div { padding-inline: 8px; }
  #product-4988 .gc4988-page dt { font-size: 12px; }
  #product-4988 .gc4988-page dd { font-size: 14px; }
  .gc4988-actions .gc4988-action { flex: 1 0 auto; }
  .gc4988-story section { scroll-margin-top: 118px; }
  .gc4988-specs, .gc4988-occasion { grid-template-columns: minmax(0, 1fr); }
  body.postid-4988:has(#wpwidget .chat-button) .gcmc-inner {
    grid-template-columns: .9fr 1fr 1.25fr;
    padding-right: 62px;
  }
  body.postid-4988 #wpwidget .widget-layout {
    right: max(21px, calc((100% - 560px) / 2 + 11px)) !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.postid-4988:is(.gcmc-overlay, .gcmc-keyboard) #wpwidget .widget-layout,
  body.postid-4988:has(.pswp--open) :is(.gcmc, #wpwidget .widget-layout) {
    visibility: hidden;
    pointer-events: none;
  }
  body.postid-4988 #wpwidget .widget-layout .chat-button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
  }
}
@media (max-width: 549px) {
  .gc4988-gallery .image-tools .zoom-button.hide-for-small { display: inline-flex !important; }
}
