/** Shopify CDN: Minification failed

Line 313:0 Unexpected "}"

**/
/* Section - Product
=================================== */

/* Layout
=================================== */
@media (min-width: 990px) {
  .product-page {
    display: grid;
    grid-column-gap: 6rem;
    grid-template-columns: minmax(50%, 1fr) 1fr;
  }
}

@media (min-width: 990px) {
  .product-no-media {
    display: block;
  }
}

.product-info-wrap-content {
  grid-column: 2/4;
  grid-row: 1/4;
}

@media (min-width: 990px) {
  .product-info {
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
    transition: top 0.2s ease;
  }

  .product-no-media .product-info {
    position: static;
  }
}

.product-media-gallery-wrap {
  position: relative;
  grid-column: 1/2;
  grid-row: 1;
}

.product-media-wrapper {
  margin-bottom: 3rem;
}

@media (min-width: 750px) {
  .product-media-wrapper {
    display: flex;
    grid-gap: 2rem;
    flex: none;
    margin-bottom: 5rem;
  }
}

@media (min-width: 990px) {
  .product-section-featured .product-media-wrapper {
    margin-bottom: 0;
  }
}

@media (hover: none) {
  .product-media-wrapper {
    grid-gap: 2rem;
  }
}

/* Base product styles (title, meta, etc)
========================================= */
.product-info-heading:last-child {
  margin-bottom: 0;
}

.product-info-secondary {
  display: flex;
  flex-direction: column;
}

.product-info-secondary-line {
  display: flex;
}

.product-info-secondary-line + .product-info-secondary-line {
  margin-top: 1rem;
}

.product-info-secondary-line > svg {
  margin-inline-end: 1rem;
  flex: none;
  position: relative;
  top: -0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  color: rgba(var(--color-accent-2));
}

.product-info-secondary.card {
  border: 0;
  flex-direction: column;
  padding: 1rem;
}

@media (min-width: 750px) {
  .product-info-secondary.card {
    padding: 2rem;
  }
}

.product-info-description {
  grid-column: 1/2;
  grid-row: 2;
}

.product-info-eyebrow {
  font-size: calc(var(--font-body-scale) * 1.3rem);
  margin-bottom: 1rem;
}

.product-info-eyebrow a {
  color: currentColor;
  text-decoration-color: transparent;
  transition: text-decoration 0.18s ease;
}

.product-info-eyebrow a:hover {
  text-decoration: underline;
}

.product-info-badges {
  display: flex;
  grid-gap: calc(var(--spacing-base-1) / 3);
  margin-bottom: var(--spacing-base-1);
}

.product-info-badges .card-badge {
  position: static;
}

.product-info-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: calc(var(--font-body-scale) * 1.3rem);
  line-height: 1;
}

@media (min-width: 750px) {
  .product-info-meta:not(.product-info-meta-stretch) {
    flex-wrap: nowrap;
  }
}

.product-info-meta .spr-badge {
  display: flex;
  align-items: center;
}

.product-info-meta-item.last {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.product-info-meta-item {
  margin-inline-end: 1rem;
  display: block;
}

.product-info-meta-item-code {
  order: 99;
  width: 100%;
  flex: none;
  margin-top: 1rem;

  .product-compare-item-row & {
    margin-top: 0;
  }
}

.product-info-meta-item-code + .product-info-meta-item-code {
  margin-top: 0;
}

@media (min-width: 1200px) {
  .product-info-meta-stretch .product-info-meta-item-code {
    margin-top: 0;
    order: unset;
    width: auto;
    line-height: 0;
  }
}

@media (min-width: 750px) {
  .product-info-meta:not(.product-info-meta-stretch) .product-info-meta-item-code {
    margin-top: 0;
    order: unset;
    width: auto;
    line-height: 0;
  }
}

/* Media gallery / Thumbnails
=================================== */
.product-media {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-border)),
    0 2px 0 rgba(var(--color-box-shadow));
  background-color: rgba(var(--color-background));
  padding: 2rem;
  border-radius: var(--border-radius-base);
  position: relative;
}

.product-media-main-wrapper {
  position: relative;
  flex: auto;
}

@media (min-width: 750px) {
  .product-media-main-wrapper {
    order: 1;
  }
}

.product-media-main-wrapper {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-border)),
    0 2px 0 rgba(var(--color-box-shadow));
  background-color: rgba(var(--color-background));
  padding: 2rem;
  border-radius: var(--border-radius-base);
  position: relative;
  width: 100%;
  height: 100%;
}

.product-media-main-wrapper .product-media {
  box-shadow: none;
  padding: 0;
}

.product-media-main {
  z-index: 1;
  width: 100%;
  margin-bottom: 1px;
}

.product-media-main-wrapper::after {
  content: "flickity";
  display: none;
}

.product-media-main-wrapper .pill-nav-slider {
  opacity: 1;
}

.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item {
  width: var(--hat-nav-arrow-size);
  height: var(--hat-nav-arrow-size);
}

.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item .angle {
  flex: none;
}

.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item-next {
  inset-inline-end: -5px;
  transform: translateY(-50%);
}

.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item-prev {
  inset-inline-start: -5px;
  transform: translateY(-50%);
}

@media (min-width: 750px) {
  .product-media-main-wrapper::after {
    content: "";
  }

  .product-media-main:not(.is-active) {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 0;
  }

  .product-media-main:not(.is-active) img {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .product-media-main-wrapper .pill-nav-slider {
    display: none;
  }
  .product-media-main-wrapper .pill-nav-slider-inline-nav {
    display: flex !important;
  }
}
   .product-media-main-wrapper .pill-nav-slider {
    display: none;
  }

  .product-media-main-wrapper .pill-nav-slider-inline-nav {
    display: flex !important;
  }
}
}

.product-media-main-wrapper:not(.flickity-enabled) .product-media-main:not(.is-active) {
  display: none;
}

.product-media-main:hover .product-media-icon-enlarge {
  opacity: 1;
}
/* 화살표 버튼 색상: 반투명 검정 배경 + 흰색 아이콘 */
.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item{
  background: var(--hat-nav-btn-bg) !important;
  color: var(--hat-nav-btn-color) !important;
  border-radius: var(--hat-nav-btn-radius) !important;   /* 추가 */
  border: none !important;        /* 추가 */
  outline: none !important;       /* 추가 */
}
.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item .angle,
.product-media-main-wrapper .pill-nav-slider-inline-nav .pill-nav-item .angle-icon{
  color: var(--hat-nav-btn-color) !important;
  border-color: var(--hat-nav-btn-color) !important;
  fill: var(--hat-nav-btn-color) !important;
}

/* 평소엔 숨김, 메인 사진에 마우스 올리면 나타남 */
.product-media-main-wrapper .pill-nav-slider-inline-nav{
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.product-media-main-wrapper:hover .pill-nav-slider-inline-nav{
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 750px) {
  .product-media-main {
    padding: 2rem;
  }
}

.product-media-icon-enlarge {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1px solid rgba(var(--color-border));
  width: 36px;
  height: 36px;
  pointer-events: none;
  background: rgba(var(--color-background));
}

@media (min-width: 990px) {
  .product-media-icon-enlarge {
    opacity: 0;
    transition: opacity 0.18s ease-in-out;
  }
}

.product-media-icon-enlarge svg {
  width: 24px;
  position: static;
  color: rgba(var(--color-accent-2));
}

.product-media-scroll-wrap {
  margin-top: 1.5rem;
}

.product-media-scroller {
  overflow: hidden;
  position: relative;
}

@media (min-width: 1200px) {
  .product-media-scroller {
    max-height: 480px;
  }
}

@media (min-width: 990px) {
  .product-media-scroller {
    max-height: 380px;
  }
}

@media (min-width: 750px) {
  .product-media-scroll-wrap {
    width: 14.8%;
    margin-top: 0;
    flex: none;
    display: flex;
    flex-direction: column;
  }

  .product-media-scroller {
    max-height: 500px;
  }

  .product-media-scroller::after {
    content: "";
    bottom: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(to top, rgba(var(--color-background)), rgba(255, 255, 255, 0));
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }
}

.product-media-thumbnails {
  display: flex;
  align-items: flex-start;
  grid-gap: 1rem;
  padding: 1px;
  scroll-snap-type: x mandatory;
  scroll-padding: 3rem;
  overflow-y: hidden;
  overflow-x: auto;
  position: relative;
  scrollbar-width: none;
}

.product-media-thumbnails::-webkit-scrollbar {
  display: none;
}

@media (min-width: 750px) {
  .product-media-thumbnails {
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
  }

  .product-media-thumbnails > :last-child {
    margin-bottom: 3rem;
  }
}

@media (hover: none) {
  .product-media-thumbnails {
    padding-right: 1px;
    margin-right: 0;
  }
}

.product-media-thumbnail {
  width: 16.66667%;
  max-width: 16.66667%;
  flex: none;
  padding: 0.5rem;
  position: relative;
}

.product-media-thumbnail img {
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.product-media-thumbnail.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-accent-2)),
    0 2px 0 rgba(var(--color-box-shadow));
  background-color: rgba(var(--color-background));
}

@media (min-width: 750px) {
  .product-media-thumbnail {
    width: 100%;
    max-width: 100%;
  }
}

.product-media-thumbnail-variant:not(:first-child) {
  display: none;
}

.product-media-thumbnail-badge {
  background-color: rgba(var(--color-background));
  border-radius: 50%;
  border: 1px solid rgba(var(--color-border));
  color: rgba(var(--color-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  position: absolute;
  inset-inline-end: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  line-height: 0;
  transition:
    color var(--duration-short) ease,
    opacity var(--duration-short) ease;
}

.product-media-thumbnail-badge svg {
  position: static;
  width: 0.8rem;
  height: 1rem;
}

.product-media-toggle {
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  inset-inline-end: 0;
  cursor: pointer;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.product-modal-opener {
  display: block;
  position: relative;
}

.product-modal-opener:not(.product-modal-opener-image) {
  display: none;
}

.product-media-gallery-message {
  margin-bottom: 3rem;
  margin-top: -0.5rem;
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

@media (min-width: 750px) {
  .product-media-gallery-message {
    margin-bottom: 5rem;
    margin-top: -1rem;
  }

  .product-section-featured .product-media-gallery-message {
    margin-bottom: 1rem;
    margin-top: 3rem;
  }
}

.product-xr-button {
  display: flex;
  margin: 1rem auto 0;
}

.product-xr-button[data-shopify-xr-hidden] {
  display: none !important;
}

.pill-nav.media-pill-nav-slider {
  display: none;
  transition: opacity 0.18s ease;
}

.media-pill-nav-slider .pill-nav-item {
  position: relative;
  width: 50%;
  z-index: 30;
  border-radius: var(--buttons-radius);
  background: rgba(var(--color-aux-background));
  color: rgba(var(--color-aux-foreground));
}

.media-pill-nav-slider .pill-nav-item .angle {
  flex: none;
}

@media (min-width: 1200px) {
  .pill-nav.media-pill-nav-slider {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .product-media-scroller:hover .pill-nav.media-pill-nav-slider {
    opacity: 1;
  }
}

media-zoom {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.media-zoom-zoom-area {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  box-shadow: inset 0 0 0 1px rgba(var(--color-accent-2));
  background: color-mix(in srgb, rgba(var(--color-accent-2)), transparent 92.5%);
  pointer-events: none;
  display: none;
}

.media-zoom-preview-area {
  position: fixed;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(var(--color-accent-2));
  background-color: rgba(var(--color-background));
  border-radius: var(--border-radius-base);
  display: none;
  z-index: 1;
}

.media-zoom-preview-area .spinner {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  margin-top: -16px;
  margin-inline-start: -16px;
}

.media-zoom-preview-area img {
  max-width: none;
  max-height: none;
  position: absolute;
  object-fit: contain;
}

@media (min-width: 990px) {
  .product-modal-opener.image-zoom-type-zoom_hover .product-media-toggle,
  .product-modal-opener.image-zoom-type-zoom_hover .product-media-icon-enlarge {
    display: none;
  }

  .product-modal-opener.image-zoom-type-lightbox_zoom_hover .product-media-toggle {
    display: none;
  }
}

/* BLOCKS: General styles
=================================== */
.product-block {
  margin-bottom: 3rem;
}

.product-block.has-divider {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(var(--color-border));
}

.product-block:empty {
  padding: 0;
  border: 0;
  margin: 0;
}

/* BLOCK: Variant picker
=================================== */
@media (min-width: 750px) {
  .product-variants {
    width: 42rem;
  }
}

.product-variants .product-form-input {
  margin-bottom: 1rem;
}

.product-variants .product-form-input-values-equal-width {
  display: grid;
  grid-gap: 0.75rem;
  grid-template-columns: repeat(4, 1fr);
}

.product-variants .product-form-input-values-equal-width input[type="radio"] + label {
  margin: 0;
  text-align: center;
}

.product-variants .product-form-input [type="radio"] {
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
  height: 1px;
  width: 1px;
}

.product-variants .product-form-input [type="radio"]:focus-visible {
  box-shadow: 0 0 0 calc(0.1rem + var(--inputs-border-width)) rgba(var(--color-foreground));
}

.product-variants .product-form-input [type="radio"] + label {
  font-size: calc(var(--font-body-scale) * 1.3rem);
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 0.5rem 1.5rem;
  margin: 0 0.2rem 0.8rem 0.3rem;
  text-decoration: none;
  background: rgba(var(--color-background));
  box-shadow: 0 0 0 0.2rem rgba(var(--color-border));
  color: rgba(var(--color-foreground));
  height: auto;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
  border-radius: var(--buttons-radius);
  font-weight: var(--font-bolder-weight);
}

.product-variants .product-form-input [type="radio"]:checked + label,
.product-variants .product-form-input [type="radio"].checked + label {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-accent-2));
  color: var(--color-base-white);
  background: rgba(var(--color-accent-2));
}

.product-variants .product-form-input [type="radio"].disabled + label {
  opacity: 0.6;
  position: relative;
  overflow: hidden;
}

.product-variants .product-form-input [type="radio"].disabled + label::after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: calc(100% + 10px);
  background-color: rgba(202, 65, 65, 1);
  top: 50%;
  inset-inline-start: -5px;
  transform: rotate(-26deg);
  opacity: 0.4;
}

.product-variants .product-form-input:last-of-type {
  margin-bottom: 0;
}

.product-variants .product-form-input [type="radio"] + label[data-image] {
  background-size: cover;
}

.product-variants .product-form-input [type="radio"] + label[data-color],
.product-variants .product-form-input [type="radio"] + label[data-image] {
  text-indent: -999em;
  padding: 0.2rem;
  width: 3.8rem;
  height: 3.8rem;
  border: 0.2rem solid rgba(var(--color-background));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: var(--buttons-radius);
}

@media (min-width: 1200px) {
  .product-variants .product-form-input [type="radio"] + label[data-color],
  .product-variants .product-form-input [type="radio"] + label[data-image] {
    width: 2.8rem;
    height: 2.8rem;
  }
}

.product-variants .product-form-input [type="radio"]:checked + label[data-color],
.product-variants .product-form-input [type="radio"]:checked + label[data-image],
.product-variants .product-form-input [type="radio"].checked + label[data-color],
.product-variants .product-form-input [type="radio"].checked + label[data-image] {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-foreground));
  background-color: transparent;
}

.setting-color-swatch-shape-circle
  :is(
    .product-variants .product-form-input [type="radio"] + label[data-color],
    .product-variants .product-form-input [type="radio"] + label[data-image]
  ) {
  border-radius: 50%;
}

.variants-hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.variants-hidden.has-divider {
  border: 0;
  padding: 0;
}

.variants-visible {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#product-form-installment {
  margin-top: 1rem;
}

/* BLOCK: Buy buttons
=============================== */
@media (min-width: 750px) {
  .product-actions {
    width: 42rem;
  }
}

.product-actions-add-to-cart {
  display: flex;
  align-items: center;
  grid-column-gap: 1rem;
}

.shopify-payment-button {
  margin-top: 1rem;
}

.button-add-to-cart {
  flex: auto;
}

.button-buy-now {
  width: 100%;
}

#more-payment-options-link {
  color: rgba(var(--color-foreground-alt));
  font-size: calc(var(--font-body-scale) * 1.4rem);
  margin-top: 0.5rem;
}

/* BLOCK: Extra/Social sharing
=============================== */
.product-info-extra {
  display: flex;
  align-items: center;
}

.product-info-extra-aux span {
  display: block;
}

.product-info-extra-aux > * {
  margin-bottom: 0;
}

.product-info-extra-sharing {
  margin-left: auto;
  display: flex;
  align-items: center;
  grid-gap: 0.5rem;
  flex: none;
  padding-left: var(--spacing-base-1);
}

.product-info-recommendations {
  grid-column: span 2;
}

.product-recommendations {
  display: block;
}

/* BLOCK: Custom liquid
=============================== */
.custom-liquid-right {
  margin: 3rem 0;
}

.custom-liquid-right-title {
  display: flex;
  align-items: center;
}

.custom-liquid-right-title svg,
.custom-liquid-right-title img {
  margin-right: 1rem;
  flex: none;
  color: rgba(var(--color-accent-2));
}

/* BLOCK: Request information
=============================== */
.product-request-information-caption {
  margin-bottom: 2rem;
}

.product-request-information-toggle {
  width: 100%;
  --color-button: var(--color-background);
  --color-button-text: var(--color-foreground);
}

.product-request-information-toggle .angle {
  top: -1px;
}

.product-request-information-toggle.color-background-1 {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
  width: auto;
  min-width: auto;
}

@media (min-width: 750px) {
  .product-request-information-toggle {
    width: 42rem;
  }

  .product-request-information-toggle.color-background-1 {
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

.product-request-information-toggle[aria-expanded="true"] {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.product-request-information-toggle[aria-expanded="true"]:hover,
.product-request-information-toggle[aria-expanded="true"]:focus {
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button));
}

.product-request-information-toggle[aria-expanded="true"] .angle-icon::before,
.product-request-information-toggle[aria-expanded="true"] .angle-icon::after {
  transform: rotate(0);
  height: 2px;
}

.product-request-information-heading {
  margin: 0;
}

.product-request-information-content {
  padding: 2.5rem;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-background));
  border-top-right-radius: var(--border-radius-base);
  border-bottom-right-radius: var(--border-radius-base);
  border-bottom-left-radius: var(--border-radius-base);
}

.product-request-information-content.color-background-1 {
  padding: 2rem 0 0;
  box-shadow: none;
}

/* BLOCK: Contact details
=============================== */
.product-contact-details-block {
  display: flex;
  align-items: center;
  padding: 1rem;
  grid-gap: 1rem;
  border-radius: var(--border-radius-base);
}

@media (min-width: 750px) {
  .product-contact-details-block {
    padding: 2rem;
    grid-gap: 1.5rem;
  }
}

.product-contact-details-block.color-background-1,
.product-contact-details-block.color-background-2 {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-border)),
    0 2px 0 rgba(var(--color-box-shadow));
}

.product-contact-details-block .rte a:not(:hover) {
  text-decoration: none;
}

.product-contact-details-block:not(.color-background-1) .rte a:hover,
.product-contact-details-block:not(.color-background-2) .rte a:hover {
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 0.4rem;
}

.product-contact-details-content {
  flex: auto;
}

.product-contact-details-thumbnail {
  flex: none;
  width: 6.4rem;
  height: 6.4rem;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}

.product-contact-details-image {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.product-contact-details-heading {
  margin: 0 0 0.2rem;
  font-size: calc(var(--font-heading-scale) * 1.5rem);
}

.product-contact-details-meta {
  display: flex;
  flex-wrap: wrap;
}

.product-contact-details-meta-item {
  display: inline-block;
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

.product-contact-details-meta-item::after {
  content: "\007c";
  display: inline-block;
  opacity: 0.5;
  font-weight: bolder;
  margin: 0 0.5rem 0 0.2rem;
}

.product-contact-details-meta-item:last-child::after {
  display: none;
}

/* BLOCK: Product metadata
=============================== */
.product-metadata-block .product-info-meta {
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

.product-metadata-block .product-info-meta-item {
  margin-inline-end: 1.5rem;
}

.product-metadata-block .visibility-hidden {
  display: none;
  margin: 0;
}

/* BLOCK: Product Signup
=============================== */
.product-signup-block {
  padding: 1rem;
  grid-gap: 1rem;
  border-radius: var(--border-radius-base);
  display: flex;
}

@media (min-width: 750px) {
  .product-signup-block {
    padding: 2rem;
    grid-gap: 1.5rem;
  }
}

.product-signup-block.color-background-1,
.product-signup-block.color-background-2 {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-border)),
    0 2px 0 rgba(var(--color-box-shadow));
}

.product-signup-block-icon {
  flex: none;
  width: 2.4rem;
  line-height: 0;
}

@media (min-width: 750px) {
  .product-signup-block-icon {
    width: 4rem;
  }
}

.product-signup-block-icon svg {
  width: 100%;
  height: auto;
  color: rgba(var(--color-accent-2));
}

.product-signup-block-content {
  flex: auto;
}

.product-signup-block-heading {
  font-size: calc(var(--font-heading-scale) * 1.5rem);
  margin: 0 0 0.75rem;
  display: flex;
  grid-gap: 0.5rem;
  align-items: center;
}

.product-signup-block .form-status {
  margin: 2rem 0 0;
}

.product-signup-block .form-status .form-status-title {
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

.product-signup-block-heading svg {
  fill: rgba(var(--color-accent-2));
}

.product-signup-block-input-wrap {
  position: relative;
}

.product-signup-block-form-wrap [type="submit"] {
  position: absolute;
  inset-inline-end: 4px;
  top: 4px;
  height: calc(100% - 8px);
  min-height: 0;
  min-width: 0;
  border-radius: var(--inputs-radius);
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

.product-signup-block-checkbox-consent {
  margin: 1rem 0 0;
  display: flex;
  gap: 0.5em;
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

/* BLOCK: Info box
=============================== */
.product-info-box-block {
  padding: 1rem;
  grid-gap: 1rem;
  border-radius: var(--border-radius-base);
  color: var(--product-details-block-text-color);
  background-color: var(--product-details-block-background-color);
  display: flex;
}

.product-info-box-block-icon {
  flex: none;
  width: 2.4rem;
  line-height: 0;
}

@media (min-width: 750px) {
  .product-info-box-block {
    padding: 2rem;
    grid-gap: 1.5rem;
  }

  .product-info-box-block-icon {
    width: 4rem;
  }
}

.product-info-box-block-icon svg {
  width: 100%;
  height: auto;
}

.product-info-box-block-heading {
  font-size: calc(var(--font-heading-scale) * 1.5rem);
  margin: 0 0 0.15rem;
  color: var(--product-details-block-text-color);
}

.product-info-box-block-caption {
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

.product-info-box-block-caption a {
  color: currentColor;
  text-decoration: underline;
}

.product-info-box-block .list-payment {
  justify-content: start;
  margin: 1rem 0;
  gap: 0.5rem;
}

.product-info-box-block .list-payment li {
  width: 3.4rem;
  height: auto;
}

.product-info-box-block .list-payment svg {
  max-width: 100%;
}

/* BLOCK: Stock bar
=============================== */
@media (min-width: 750px) {
  .product-stock-bar-block {
    max-width: 42rem;
  }
}

.stock-bar-status-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.stock-bar-status-caption {
  font-size: calc(var(--font-body-scale) * 1.4rem);
  margin-top: 0.2rem;
}

.stock-bar-status .badge-stock {
  height: 2.4rem;
}

.stock-bar-progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: rgba(var(--color-border));
  border-radius: var(--border-radius-base);
  overflow: hidden;
  position: relative;
}

.stock-bar-progress {
  position: absolute;
  width: 100%;
  height: 100%;
}

.stock-bar-status-in .stock-bar-progress {
  width: 100%;
  background-color: var(--color-success);
}

.stock-bar-status-out .stock-bar-progress {
  width: 0;
  background-color: transparent;
}

.stock-bar-status-warning .stock-bar-progress {
  width: 20%;
  background-color: var(--color-warning);
}

.stock-bar-status-preorder .stock-bar-progress {
  width: 100%;
  background-color: var(--color-preorder);
}

.stock-bar-status-backorder .stock-bar-progress {
  width: 100%;
  background-color: var(--color-backorder);
}

/* BLOCK: Image
=============================== */
.product-image-block {
  display: flex;
}

.product-image-block-align-left {
  justify-content: flex-start;
}

.product-image-block-align-center {
  justify-content: center;
}

.product-image-block-align-right {
  justify-content: flex-end;
}

.product-image-block a,
.product-image-block-img {
  width: var(--product-image-block-width);
}

.product-image-block a .product-image-block-img {
  width: 100%;
}

.product-image-block-placeholder-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
  width: var(--product-image-block-width);
  line-height: 0;
}

.product-image-block-placeholder {
  background: rgba(var(--color-border));
  width: 100%;
  height: 100%;
}

@media (max-width: 989px) {
  .product-image-block a,
  .product-image-block-img {
    width: var(--product-image-block-mobile-width);
  }

  .product-image-block-placeholder-wrap {
    width: var(--product-image-block-mobile-width);
  }
}

/* BLOCK: Details
=============================== */
.product-info-details-title {
  display: flex;
  align-items: center;
  grid-gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-info-details-title svg {
  width: 2rem;
  height: 2rem;
  color: color-mix(in srgb, rgba(var(--color-foreground)), transparent 55%);
}

.product-info-details-text {
  margin: 2rem 0;
}

.product-info-details-text:last-child {
  margin-bottom: 0;
}

.product-info-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

.product-info-details-item {
  display: flex;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-base);
}

.product-info-details-item:nth-child(odd) {
  background: color-mix(in srgb, rgba(var(--color-foreground)), transparent 92%);
}

.product-info-details-item-label {
  display: flex;
  flex: auto;
  padding-inline-end: 1.5rem;
}

.product-info-details-item-value {
  color: rgba(var(--color-foreground-alt));
  font-weight: var(--font-bolder-weight);
  margin-left: auto;
  max-width: 75%;
  text-align: right;
}

.product-info-details-item-value a {
  color: rgba(var(--color-accent-1));
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.1rem;
  text-decoration-color: transparent;
  transition: text-decoration 0.18s ease;
  display: inline-flex;
  align-items: center;
}

.product-info-details-item-value a:hover {
  text-decoration: underline;
}

.product-info-details-item-icon-download {
  position: relative;
  top: 0.2rem;
  margin-inline-end: 0.5rem;
  transform: translateY(-0.3rem);
  opacity: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.product-info-details-item-value a:hover .product-info-details-item-icon-download {
  opacity: 1;
  transform: translateY(0.1rem);
}

.product-info-details-item-icon-download svg {
  width: 1.6rem;
  height: auto;
  color: color-mix(in srgb, rgba(var(--color-foreground)), transparent 40%);
}

/* BLOCK: Personalization field
=================================== */
.product-custom-property-block {
  padding: 2rem;
  border-radius: var(--border-radius-base);
}

.product-custom-property-block.color-none {
  padding: 0;
}

.product-custom-property-block.color-background-1,
.product-custom-property-block.color-background-2 {
  box-shadow:
    inset 0 0 0 1px rgba(var(--color-border)),
    0 2px 0 rgba(var(--color-box-shadow));
}

.product-custom-property-description {
  margin-top: 1.5rem;
  font-size: calc(var(--font-body-scale) * 1.4rem);
}

.product-custom-property-description > :last-child {
  margin: 0;
}

/* BLOCK: Shopify subscriptions App
===================================== */
.shopify_subscriptions_app_block .shopify_subscriptions_app__title {
  margin: 0 0 var(--spacing-base-1);
  text-rendering: optimizeLegibility;
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  line-height: calc(1 + 0.2 / max(1, var(--font-heading-scale)));
  word-break: break-word;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_block_label {
  padding: 2rem;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_block_label label {
  margin: 0;
  display: flex;
  align-items: center;
  grid-gap: 0.6rem;
  color: currentColor;
}

.shopify_subscriptions_app_block .shopify_subscriptions_purchase_option_wrapper {
  display: flex;
  align-items: center;
}

.shopify_subscriptions_app_block [type="radio"] {
  width: 2rem;
  height: 2rem;
  margin: -0.2rem 0 0;
}

.shopify_subscriptions_app_block .shopify_subscriptions_in_widget_price {
  font-weight: var(--font-bolder-weight);
  display: block;
  font-size: calc(var(--font-body-scale) * 1.3rem);
  line-height: 1;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_block_label_children {
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_block_label_children li {
  display: block;
  margin: 0 0 1rem;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_policy {
  margin: 1.5rem 0 0;
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_policy a {
  color: rgba(var(--color-accent-1));
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.1rem;
  transition: text-decoration 0.18s ease;
  text-decoration-color: transparent;
}

.shopify_subscriptions_app_block .shopify_subscriptions_app_policy a:hover {
  text-decoration: underline;
}

/* Product gallery modal
=================================== */
.product-media-modal {
  background-color: rgba(var(--color-background));
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: 130;
  cursor: zoom-out;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
  pointer-events: none;
}

.product-media-modal[open] {
  visibility: visible;
  opacity: 1;
  z-index: 130;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0s linear 0s;
  pointer-events: auto;
}

.product-media-modal-dialog {
  display: flex;
  align-items: center;
  height: 100vh;
}

.product-media-modal-content {
  max-height: 100vh;
  width: 100%;
  overflow: auto;
}

.product-media-modal-content > * {
  display: block;
  height: auto;
  margin: auto;
  max-width: none;
}

@media (min-width: 990px) {
  .product-media-modal-content {
    padding: 2rem 11rem;
  }

  .product-media-modal-content > * + * {
    margin-top: 2rem;
  }
}

.product-media-modal-toggle {
  background-color: rgba(var(--color-background));
  border: 0.1rem solid rgba(var(--color-border));
  color: rgba(var(--color-foreground-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  right: 2rem;
  padding: 1.2rem;
  position: fixed;
  z-index: 2;
  top: 2rem;
  width: 4rem;
  height: 4rem;
}

.product-media-modal-toggle:focus-visible::after {
  content: "";
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 0.3rem rgba(var(--color-background)),
    0 0 0 0.5rem rgba(var(--color-foreground));
}

.product-media-modal-content > *:not(.is-active),
.product-media-list .deferred-media {
  display: none;
}

@media (min-width: 990px) {
  .product-media-modal-content > *:not(.is-active),
  .product-media-list .deferred-media {
    display: block;
  }
}

/* SETTING: Show recipient information form for gift card products (BLOCK: Buy buttons)
======================================================================================== */
.recipient-form {
  display: block;
  position: relative;
  max-width: 44rem;
  margin-bottom: 3.5rem;
}

.recipient-form-field-label {
  margin: 0.6rem 0;
}

.recipient-form-field-label-note {
  display: block;
  font-size: calc(var(--font-body-scale) * 1.3rem);
  margin-top: -0.5rem;
}

.recipient-checkbox {
  flex-grow: 1;
  display: flex;
  word-break: break-word;
  align-items: center;
  max-width: inherit;
  position: relative;
  margin: 1.5rem 0 0;
  gap: 0.5em;
  font-size: calc(var(--font-body-scale) * 1.5rem);
  padding-left: 2.35rem;
}

.recipient-form > [type="checkbox"] {
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
  top: 0.1rem;
  inset-inline-start: 0;
}

.recipient-fields-field {
  margin: 0 0 2rem 0;
}

.recipient-fields-field .field {
  margin-bottom: 0.75rem;
}

.recipient-fields .field__label {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
}

.recipient-form .icon-checkmark {
  visibility: hidden;
  position: absolute;
  left: 0.28rem;
  z-index: 5;
  top: 0.4rem;
}

.recipient-fields {
  display: none;
}

.recipient-fields hr {
  margin: 1.6rem auto;
}

.recipient-form > input[type="checkbox"]:checked ~ .recipient-fields {
  display: block;
}

.recipient-form > input[type="checkbox"]:not(:checked, :disabled) ~ .recipient-fields,
.recipient-email-label {
  display: none;
}

.recipient-email-label.required {
  display: inline;
}

.recipient-form .form-status-error {
  margin-top: 2rem;
  font-size: calc(var(--font-heading-scale) * 2.4rem);
  letter-spacing: normal;
}

.recipient-form .form-status-error .form-message {
  color: currentColor;
  font-size: calc(var(--font-heading-scale) * 1.4rem);
}

.recipient-form .error-message {
  color: var(--color-error);
}

.recipient-form ul {
  font-size: calc(var(--font-heading-scale) * 1.4rem);
  line-height: calc(1 + 0.6 / var(--font-body-scale));
  text-align: left;
  margin: 0;
}

.recipient-form ul a {
  display: inline;
}

.recipient-form .error-message::first-letter {
  text-transform: capitalize;
}

@media screen and (forced-colors: active) {
  .recipient-fields > hr {
    border-top: 0.1rem solid var(--border-color-base);
  }
}

/* BLOCK: Pickup Availability
=================================== */
.product-pickup-availabilities {
  display: block;
}

.pickup-availability-preview {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pickup-availability-preview .status-dot {
  position: relative;
  top: 0.1rem;
}

.pickup-availability-button {
  padding: 0;
  text-decoration: none;
  margin-top: 0.5rem;
}

.pickup-availability-info > * {
  margin-bottom: 0;
}

.pickup-availability-title-location {
  font-weight: 700;
}

.pickup-availability-time {
  font-size: calc(var(--font-body-scale) * 1.3rem);
}

/* Reset product-block border if we don't show availability
   (i.e. there's no available pickup availability for the variant)
 */
.product-pickup-availabilities:not([available]) {
  padding: 0;
  border: 0;
}

/* Pickup Availability Drawer
=================================== */
.pickup-availability-drawer {
  z-index: 1000;
  will-change: transform;
}

.pickup-availability-drawer-open .pickup-availability-drawer,
[dir="rtl"] .pickup-availability-drawer-open .pickup-availability-drawer {
  transform: translateX(0);
}

.pickup-availability-variant {
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.pickup-availability-list-item {
  display: flex;
  align-items: flex-start;
  grid-gap: 1rem;
  font-size: calc(var(--font-body-scale) * 1.4rem);
  border-bottom: 1px dotted rgba(var(--color-border));
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.pickup-availability-list-item-content > * {
  margin-bottom: 0;
}

.pickup-availability-list-item-content :last-child {
  margin-bottom: 0;
}

.pickup-availability-list-item-content .pickup-availability-preview {
  margin-bottom: 1rem;
}

.pickup-availability-list-item-title {
  font-size: calc(var(--font-body-scale) * 1.5rem);
}

/* Status dots for pickup availability
======================================= */
.status-dot {
  width: 1.9rem;
  height: 1.9rem;
  background: rgba(var(--color-foreground));
  color: rgba(var(--color-background));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 0;
  flex: none;
}

.status-dot::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: currentColor;
}

.status-dot-success {
  background: var(--color-success-background);
  color: var(--color-success);
}

.status-dot-error {
  background: var(--color-error-background);
  color: var(--color-error);
}

.status-dot-warning {
  background: var(--color-warning-background);
  color: var(--color-warning);
}

/* BLOCK: Content Drawer Styles
======================================= */
.content-drawer {
  z-index: 1000;
  will-change: transform;
}

.content-drawer-button {
  display: inline-flex;
  gap: 0.5rem;

  &:hover {
    text-decoration: none;
    box-shadow: none;
  }

  &.button-text-button {
    background-color: rgba(var(--color-background));
    color: rgba(var(--color-foreground));
    box-shadow: 0 0 0 0.1rem rgba(var(--color-border));
    border-radius: var(--border-radius-base);
  }

  &.button-text-link {
    justify-content: start;
    align-items: center;
    padding: 0;
  }

  svg,
  img {
    margin: 0;
    max-width: 1.8rem;
  }
}
/* =========================================================
   MAX — PRODUCT DETAIL PAGE — TUNING DASHBOARD
   여기 숫자만 바꾸면 됩니다. 아래 "엔진" 섹션은 건드릴 필요 없음.
   ========================================================= */
:root{
  /* ---- 메인 이미지 높이 ---- */
  --media-min-d:420px; --media-fluid:60cqw; --media-max-d:820px;      /* 데스크탑 */
  --media-min-m:260px; --media-fluid-m:100cqw; --media-max-m:680px;   /* 모바일 */
  --media-object-position:center center;

  /* ---- 2열 레이아웃(데스크탑) ---- */
  --hat-aside-w:clamp(320px,30vw,420px); /* 우측 정보영역 폭 */
  --hat-gap:min(4vw,48px);               /* 좌(이미지)-우(정보) 간격 */

  /* ---- 벤더 ↔ 타이틀 ↔ 칩 간격 ---- */
  --hat-gap-eyebrow-title: 3px;    /* 벤더 ↔ 타이틀 간격 */
  --hat-gap-title-chips: 10px;    /* 타이틀 ↔ 칩 간격 — 원래 10px로도 선언돼 있었으나 죽은 값이었음. 의도한 값 맞는지 확인! */

  /* ---- 타이틀 ---- */
  --hat-title-size-d: 25px;   /* 데스크탑 폰트 크기 */
  --hat-title-size-m: 20px;   /* 모바일 폰트 크기 */
  --hat-title-weight: 600;
  --hat-title-line: 1.1;
  --hat-title-color: #E23D2C; /* Total Price 금액 색상과도 공유됨 */
  --hat-gap-chips-price: 15px;   /* 칩 ↔ 가격 간격 (원하는 만큼 줄이세요, 예: 12px) */

  /* ---- 칩(Quick Specs) ---- */
  --qs-font: 12.5px;
  --qs-weight: 500;
  --qs-py: 4px;
  --qs-px: 4.2px;
  --qs-gap: 3px;
  --qs-radius: 5px;
  --qs-bg: #F3F4F6;
  --qs-color: #1F2937;
  
  --ih-group-gap: 20px;
  --ih-group-title-color: #1a1a1a;
  --ih-group-title-size: 13px;
  --ih-group-title-weight: 700;
  --ih-row-gap: 10px;
  --ih-row-border: #eee;
  --ih-date-color: #1a1a1a;
  --ih-date-size: 14px;
  --ih-date-weight: 600;
  --ih-date-width: 96px;
  --ih-cost-label-color: #777;
  --ih-cost-value-color: #333;
  --ih-cost-fs: 13px;
  --ih-cost-total-color: #1a1a1a;
  --ih-cost-total-weight: 700;
  --ih-empty-color: #777;
  --ih-empty-fs: 13px;

  /* ---- 가격(메인) ---- */
  --hat-price-size: 25px;
  --hat-price-weight: 900;
  --hat-price-color: #101828;
  --hat-price-gap: 6px;
  --hat-compare-size: 14px;      /* 취소선 비교가 */
  --hat-compare-weight: 600;
  --hat-compare-color: #98A2B3;

  /* ---- Indicative Purchase Price 블록 ---- */
  --epp-mt: 30px; --epp-mb: 20px;
  --epp-title-size: 15px; --epp-title-weight: 510; --epp-title-color: #18171C;
  --epp-label-size: 15px; --epp-label-weight: 500; --epp-label-color: #6A6A6A;
  --epp-value-size: 15px; --epp-value-weight: 510; --epp-value-color: #18171C;
  --epp-row-gap: 8px; --epp-line: 1.15;

  /* ---- 구분선(HR) ---- */
  --hat-hr-color: #E5E7EB;
  --hat-hr-thick: 1.3px;
  --hat-hr-gap-top: 22px;
  --hat-hr-gap-bottom: 22px;

  /* ---- Total Price 줄 ---- */
  --hat-total-label-color: #18171C;
  --hat-total-label-size: 14px;
  --hat-total-label-weight: 510;
  --hat-total-value-color: var(--hat-title-color);
  --hat-total-value-size: 25px;
  --hat-total-value-weight: 800;
  --hat-total-mt: 10px;
  --hat-total-mb: 12px;

  /* ---- 배송 안내 참고 박스 ---- */
  --hat-note-bg:    #F6F6F6;
  --hat-note-color: #18171C;
  --hat-note-fs:    7px;
  --hat-note-fw:    400;
  --hat-note-lh:    1.5;
  --hat-note-radius: 8px;
  --hat-note-py:     12px;
  --hat-note-px:     14px;
  --hat-note-gap:    6px;
  --hat-note-mt:     25px;
  --hat-note-mb:     25px;
  --hat-note-indent: 0px;

  /* ---- 우측 정보영역 카드(박스) ---- */
  --hatbox-bg: #fff;
  --hatbox-bd: #E5E7EB;
  --hatbox-bd-w: 1px;
  --hatbox-radius: 24px;
  --hatbox-pad: 20px;      /* 좌/우 패딩 */
  --hatbox-pad-t: 40px;    /* 상단 패딩 (이제 실제로 적용됨) */
  --hatbox-pad-b: 15px;    /* 하단 패딩 (이제 실제로 적용됨) */
  --hatbox-shadow: 0 8px 24px rgba(16,24,40,.08);
  --hatbox-pad-m: 18px;      /* 모바일 좌우 패딩 */
  --hatbox-radius-m: 18px;

  /* ---- 구매 버튼 영역 ---- */
  --hat-act-gap: 15px;
  --hat-act-mt: 14px;
  --hat-act-mb: 1px;
  --hat-act-radius: 999px;
  --hat-act-py: 12px;
  --hat-act-fs: 16px;
  --hat-act-weight: 520;   /* 구매 버튼 폰트 굵기 (지금 기본값 그대로, 400=보통/700=굵게) */
  --hat-act-minw: 125px;
  --hat-pay-mt: 0px;
  --hat-pay-radius: 5px;
  --hat-nav-arrow-size: 5.0rem;             /* 화살표 버튼 크기 */
  --hat-nav-btn-bg: rgba(0, 0, 0, 0.25);    /* 화살표 버튼 배경: 검정 + 반투명 */
  --hat-nav-btn-color: #ffffff;             /* 화살표 아이콘 색: 흰색 */
  --hat-nav-btn-radius: 0px;   /* 0 = 완전 정사각, 4~8px = 살짝 둥근 사각 */
  --hat-act-icon-gap: 3px;
  --hat-act-icon-size: 20px;

  /* ---- 상세 아코디언 영역 ---- */
  --ih-toggle-icon-size: 25px;
  --ih-toggle-icon-gap: 5px;
}

/* =========================================================
   RESPONSIVE OVERRIDES (모바일용 값 — 여기도 대시보드처럼 한곳에)
   ========================================================= */
@media (max-width: 520px){
  :root{ --hat-act-minw: 0px; }  /* 버튼 최소너비 리셋(오버플로우 방지) */
}
@media (max-width: 480px){
  :root{
    --qs-font: 11px; --qs-py: 3px; --qs-px: 6px; --qs-gap: 5px;
    --hat-hr-gap-top: 12px; --hat-hr-gap-bottom: 8px;
    --hat-total-label-size: 15px; --hat-total-value-size: 24px; --hat-total-mt: 8px; --hat-total-mb: 10px;
    --hat-note-fs: 9.5px; --hat-note-py: 10px; --hat-note-radius: 12px; --hat-note-mt: 22px; --hat-note-mb: 14px;
  }
}

/* =========================================================
   아래부터는 "엔진"입니다 — 값 조절은 위 대시보드에서만 하세요
   ========================================================= */
.product-page .product-actions .btn-icon {
  width: var(--hat-act-icon-size);
  height: var(--hat-act-icon-size);
  flex: 0 0 auto;
  display: block;
  margin: 0;
}
.product-page .hat-vehicle-price .hat-epp-label--vehicle {
  font-size: 14px;
  font-weight: 510;
  color: rgb(24, 23, 28);
}
.hat-vehicle-price {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: baseline;
}
.hat-vehicle-price {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: baseline;
}
.hat-epp-value--vehicle {
  font-size: 25px;
  font-weight: 800;
  color: rgb(226, 61, 44);
}
.hat-hr--vehicle {
  width: 100%;
  height: var(--hat-hr-thick);
  background: var(--hat-hr-color);
  margin-top: var(--hat-hr-gap-top);
  margin-bottom: var(--hat-hr-gap-bottom);
}

/* 1) 썸네일을 메인 이미지 아래(데스크톱) */
@media (min-width:750px){
  .product-media-wrapper{ display:block !important; }
  .product-media-main-wrapper{ order:0 !important; width:100% !important; }
  .product-media-scroll-wrap{
    width:100% !important; margin-top:1rem !important;
    display:block !important; flex:none !important;
  }
  .product-media-thumbnails{
    flex-direction:row !important; height:auto !important;
    overflow-x:auto !important; overflow-y:hidden !important;
    scroll-snap-type:x mandatory !important;
  }
  .product-media-scroller{ max-height:none !important; }
  .product-media-scroller::after{ content:none !important; }
  .product-media-thumbnail{ flex:0 0 auto !important; width:120px !important; max-width:none !important; padding:.5rem; }
  .product-media-thumbnails>:last-child{ margin-bottom:0 !important; }
}

/* 2) 메인 미디어 커버(공통) */
.product-media-main-wraper,.product-media-main-wrapper{ padding:0 !important; position:relative !important; overflow:hidden !important; }
.product-media-main-wraper .media,
.product-media-main-wrapper .media,
.product-media-main-wraper .product-media,
.product-media-main-wrapper .product-media{ padding:0 !important; aspect-ratio:auto !important; height:auto !important; }
.product-media-main-wraper .product-media img,
.product-media-main-wrapper .product-media img,
.product-media-main-wraper .product-media picture,
.product-media-main-wrapper .product-media picture,
.product-media-main-wraper .product-media video,
.product-media-main-wrapper .product-media video{
  width:100% !important; height:100% !important; object-fit:cover !important; object-position:var(--media-object-position) !important; display:block !important;
}
.product-page .product-media-wrapper{ container-type:inline-size; }
.product-page .product-media-main-wraper .product-media,
.product-page .product-media-main-wrapper .product-media{
  height:clamp(var(--media-min-d),58vw,var(--media-max-d)); overflow:hidden;
}
@supports (height:1cqw){
  .product-page .product-media-main-wraper .product-media,
  .product-page .product-media-main-wrapper .product-media{
    height:clamp(var(--media-min-d),var(--media-fluid),var(--media-max-d));
  }
}
@media (max-width:989.98px){
  .product-page .product-media-main-wraper .product-media,
  .product-page .product-media-main-wrapper .product-media{
    height:clamp(var(--media-min-m),70svh,var(--media-max-m));
  }
  @supports (height:1cqw){
    .product-page .product-media-main-wraper .product-media,
    .product-page .product-media-main-wrapper .product-media{
      height:clamp(var(--media-min-m),var(--media-fluid-m),var(--media-max-m));
    }
  }
}

/* 3) 우측 정보영역(공통) – 카드 배경 제거 + 내부 정렬 */
.product-page .product-info{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
}
.product-page .product-actions{ display:grid; grid-template-columns:1fr; gap:12px; }
.product-page .product-actions .button,
.product-page .product-actions button{ width:100%; }
.product-page .shopify-payment-button{ margin:0; }
.product-page .shopify-payment-button__button{ width:100%; border-radius:999px; }
.product-page .product-info-eyebrow{ margin-bottom:.5px; }
.product-page .product-info-heading{ margin-bottom:8px; }

/* 4) 데스크톱 2열(이미지 2/3, 정보 1/3 근사) */
@media (min-width:1100px){
  .product.product-page{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) var(--hat-aside-w) !important;
    column-gap:var(--hat-gap) !important;
    align-items:start;
  }
  .product.product-page .product-media-gallery-wrap{ grid-column:1; min-width:0; }
  .product.product-page .product-info-wrap-content{ grid-column:2; width:var(--hat-aside-w) !important; max-width:var(--hat-aside-w) !important; }
  .product.product-page .product-info{ position:sticky; top:88px; width:100%; box-sizing:border-box; }
}

/* 5) 모바일 FIX – 겹침/튀는 현상 근절 */
@media (max-width:749px){
  .product.product-page{ display:block !important; }
  .product.product-page .product-media-gallery-wrap,
  .product.product-page .product-info-wrap-content{
    width:100% !important; max-width:100% !important; margin:0 !important; float:none !important; clear:both !important;
  }
  .product.product-page .product-media-gallery-wrap{
    position:relative !important; isolation:isolate !important;
    z-index:2 !important; margin-bottom:16px !important;
  }
  .product.product-page .product-info{ position:static !important; }
  .product.product-page .product-info-wrap-content{
    position:relative !important; z-index:1 !important; margin-top:12px !important;
  }
  .product-page .shopify-payment-button,
  .product-page .shopify-payment-button *{
    transform:none !important; width:100% !important; max-width:100% !important;
  }
  .product-page .product-block-product-form{ contain:layout paint !important; }
}

/* 6) Quick Specs 칩 */
.product-page .quick-specs{
  display: flex;
  flex-wrap: wrap;
  gap: var(--qs-gap);
  margin: 6px 0 14px;
  padding: 0;
  list-style: none;
}
.product-page .quick-specs--card li{
  display: inline-flex;
  align-items: center;
  background: var(--qs-bg);
  color: var(--qs-color);
  border-radius: var(--qs-radius) !important;
  padding: var(--qs-py) var(--qs-px);
  line-height: 1;
  font-size: var(--qs-font);
  font-weight: var(--qs-weight);
  white-space: nowrap;
  text-transform: uppercase;
}
.product-page .quick-specs--card .qs-val{ display:inline-block; }

/* 7) 벤더/타이틀/칩 간격 */
.product-page .product-info-main .product-detail-vendor{
  margin-bottom: var(--hat-gap-eyebrow-title) !important;
  line-height: 0.5 !important;
}
.product-page .product-info-main h1.product-info-heading,
.product-page .product-info-main .product-info-heading,
.product-page .product-info-main .product-info-heading.h1,
.product-page .product-info-main .product-info-heading.h2{
  margin-top: 0 !important;
  margin-bottom: var(--hat-gap-title-chips) !important;
}
.product-page .product-info-main .product-info-heading + .quick-specs{
  margin-top: 0 !important;
}
.product-page .product-info-main .quick-specs{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 8) 가격(우측 정렬) */
.product-page .product-block-price [id^="price-"]{
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
}
.product-page .product-block-price .price{
  display: inline-flex !important;
  align-items: baseline !important;
  gap: var(--hat-price-gap);
  flex-wrap: wrap;
}
.product-page .product-block-price .price .price-item,
.product-page .product-block-price .price .price__regular,
.product-page .product-block-price .price .price__sale{
  font-size: var(--hat-price-size) !important;
  font-weight: var(--hat-price-weight) !important;
  color: var(--hat-price-color) !important;
  line-height: 1.1 !important;
}
.product-page .product-block-price .price .price-item--regular,
.product-page .product-block-price .price .price__compare,
.product-page .product-block-price .price .price-item--compare,
.product-page .product-block-price .price .compare-price,
.product-page .product-block-price .price s{
  font-size: var(--hat-compare-size) !important;
  font-weight: var(--hat-compare-weight) !important;
  color: var(--hat-compare-color) !important;
  text-decoration: line-through !important;
  opacity: 0.95;
}
.product-page .product-block-price .price .money{
  font: inherit !important;
  color: inherit !important;
}
.product-page .installment{
  text-align: right !important;
}

/* 9) Indicative Purchase Price 블록 */
.product-page .hat-epp{
  margin: var(--epp-mt) 0 var(--epp-mb);
  display: grid;
  row-gap: calc(var(--epp-row-gap) + 2px);
}
.product-page .hat-epp-title{
  font-size: var(--epp-title-size);
  font-weight: var(--epp-title-weight);
  color: var(--epp-title-color);
  line-height: var(--epp-line);
  text-align: left;
}
.product-page .hat-epp-row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 11px;
}
.product-page .hat-epp-label{
  font-size: var(--epp-label-size);
  font-weight: var(--epp-label-weight);
  color: var(--epp-label-color);
  line-height: var(--epp-line);
  text-align: left;
}
.product-page .hat-epp-value{
  font-size: var(--epp-value-size);
  font-weight: var(--epp-value-weight);
  color: var(--epp-value-color);
  line-height: var(--epp-line);
  text-align: right;
  white-space: nowrap;
}

/* 10) 구분선(HR) */
.product-page .product-block-price .hat-total{
  position: relative;
  width: 100%;
  border-top: var(--hat-hr-thick) solid var(--hat-hr-color);
  margin-top: var(--hat-hr-gap-top);
  padding-top: var(--hat-hr-gap-bottom);
  border-radius: 0;
}
.product-page .shopify-payment-button::after{ content: none !important; }

/* 11) Total Price 줄 */
.product-page .hat-total{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  margin: var(--hat-total-mt) 0 var(--hat-total-mb);
}
.product-page .hat-total-label{
  color: var(--hat-total-label-color);
  font-size: var(--hat-total-label-size);
  font-weight: var(--hat-total-label-weight);
  line-height: 1.2;
}
.product-page .hat-total-value{
  color: var(--hat-total-value-color);
  font-size: var(--hat-total-value-size);
  font-weight: var(--hat-total-value-weight);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 12) 배송 안내 참고 박스 */
.product-page .hat-note{
  width: 100%;
  background: var(--hat-note-bg);
  color: var(--hat-note-color);
  border-radius: var(--hat-note-radius);
  padding: var(--hat-note-py) var(--hat-note-px);
  margin: var(--hat-note-mt) 0 var(--hat-note-mb);
  text-align: left;
  box-sizing: border-box;
}
.product-page .hat-note-list{
  list-style: none !important;
  padding-left: var(--hat-note-indent) !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--hat-note-gap);
  align-items: flex-start !important;
}
.product-page .hat-note-list li{
  font-size: var(--hat-note-fs);
  font-weight: var(--hat-note-fw);
  line-height: var(--hat-note-lh);
}
.product-page .hat-note-list li::marker{
  content: "" !important;
}

/* 13) 타이틀 */
.product-page .product-info-main .product-info-heading{
  font-size: var(--hat-title-size-d) !important;
  font-weight: var(--hat-title-weight) !important;
  line-height: var(--hat-title-line) !important;
}
.product-page .product-info-main.product-block{
  margin-bottom: var(--hat-gap-chips-price) !important;
}
@media (max-width: 749.98px){
  .product-page .product-info-main .product-info-heading{
    font-size: var(--hat-title-size-m) !important;
  }
}

/* 14) 우측 정보영역 카드(박스) */
#hat-product .product-info,
.product-page .product-info-wrap-content > .product-info,
.product.product-page .product-info{
  background: var(--hatbox-bg) !important;
  border: var(--hatbox-bd-w) solid var(--hatbox-bd) !important;
  border-radius: var(--hatbox-radius) !important;
  box-shadow: var(--hatbox-shadow) !important;
  padding: var(--hatbox-pad-t) var(--hatbox-pad) var(--hatbox-pad-b) !important;
  overflow: visible;
}
#hat-product .product-info > *:first-child,
.product-page .product-info-wrap-content > .product-info > *:first-child,
.product.product-page .product-info > *:first-child{
  margin-top: 0 !important;
}
#hat-product .product-info > *:last-child,
.product-page .product-info-wrap-content > .product-info > *:last-child,
.product.product-page .product-info > *:last-child{
  margin-bottom: 0 !important;
}
@media (max-width: 1099.98px){
  #hat-product .product-info,
  .product-page .product-info-wrap-content > .product-info,
  .product.product-page .product-info{
    border-radius: var(--hatbox-radius-m) !important;
    padding: var(--hatbox-pad-m) !important;
    box-shadow: none;
  }
}
#hat-scope .product-info,
#hat-scope .product-info .card{
  background: initial !important;
  border: initial !important;
  box-shadow: initial !important;
  padding: initial !important;
}
.ih-toggle-icon {
  width: var(--ih-toggle-icon-size);
  height: var(--ih-toggle-icon-size);
  flex: 0 0 auto;
  display: block;
  color: var(--oi-toggle-title-color);
}

/* 15) 구매 버튼 영역 */
#hat-product .product-actions,
#hat-scope   .product-actions,
.product-page .product-actions{
  display: grid !important;
  gap: var(--hat-act-gap) !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: var(--hat-act-mt) !important;
  margin-bottom: var(--hat-act-mb) !important;
}
#hat-product .product-actions > *,
#hat-scope   .product-actions > *,
.product-page .product-actions > *{
  min-width: 0 !important;
  justify-self: stretch !important;
}
#hat-product .product-actions .button,
#hat-product .product-actions button,
#hat-product .product-actions a.button,
#hat-scope   .product-actions .button,
#hat-scope   .product-actions button,
#hat-scope   .product-actions a.button,
.product-page .product-actions .button,
.product-page .product-actions button,
.product-page .product-actions a.button,
.product-page .product-actions .button--full-width{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--hat-act-icon-gap) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: var(--hat-act-minw) !important;
  box-sizing: border-box !important;
  border-radius: var(--hat-act-radius) !important;
  padding: var(--hat-act-py) 16px !important;
  font-size: var(--hat-act-fs) !important;
  font-weight: var(--hat-act-weight) !important;
  line-height: 1 !important;
}
#hat-product .product-actions > .product-actions-buy-now,
#hat-scope   .product-actions > .product-actions-buy-now,
.product-page .product-actions > .product-actions-buy-now{
  grid-column: 1 / -1 !important;
  margin-top: 0 !important;
  width: 100% !important;
}
#hat-product .product-actions-buy-now .shopify-payment-button,
#hat-scope   .product-actions-buy-now .shopify-payment-button,
.product-page .product-actions-buy-now .shopify-payment-button{
  width: 100% !important;
}
@media (min-width: 750px){
  .product-page .product-actions{
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 749px){
  .product-page .product-actions{
    grid-template-columns: 1fr !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .product-page .product-actions .button,
  .product-page .product-actions button,
  .product-page .product-actions a.button{
    min-width: 0 !important;
  }
}
@supports (selector(:has(*))){
  #hat-product .product-actions > *:has(.shopify-payment-button),
  #hat-scope   .product-actions > *:has(.shopify-payment-button),
  .product-page .product-actions > *:has(.shopify-payment-button){
    margin-top: var(--hat-pay-mt) !important;
    grid-column: 1 / -1 !important;
  }
}
.product-page .product-info{ container-type: inline-size; }
.product-page .product-actions-buy-now,
#hat-product .product-actions-buy-now,
#hat-scope   .product-actions-buy-now {
  --shopify-accelerated-checkout-button-border-radius: var(--hat-act-radius);
}
#hat-product .product-actions > .product-actions-add-to-cart,
#hat-scope   .product-actions > .product-actions-add-to-cart,
.product-page .product-actions > .product-actions-add-to-cart{
  grid-column: 1 / -1 !important;
}

/* ===== Accident History accordion ===== */
:root {
  --ih-card-bg: #ffffff;
  --ih-card-border: #E5E7EB;
  --ih-card-radius: 16px;

  --ih-title-size: 22px;
  --ih-title-size-mobile: 17.7px;
  --ih-title-weight: 700;
  --ih-title-weight-mobile: 700;
  --ih-title-color: #18171C;

  --ih-badge-clean-bg: #ECFDF3;
  --ih-badge-clean-color: #067647;
  --ih-badge-warn-bg: #FEF3F2;
  --ih-badge-warn-color: #B42318;
  --ih-badge-radius: 999px;
  --ih-badge-fs: 15px;
  --ih-badge-fs-mobile: 10px;

  --ih-arrow-color: #6B7280;

  --ih-section-title-size: 18px;
  --ih-section-title-size-mobile: 17px;
  --ih-section-title-weight: 700;
  --ih-section-title-weight-mobile: 700;
  --ih-section-title-color: #18171C;

  --ih-row-fs: 16.1px;
  --ih-row-fs-mobile: 13.5px;
  --ih-row-border: #F0F0F0;
  --ih-row-label-color: #6B7280;
  --ih-row-value-color: #18171C;
  --ih-row-label-cols: 3;
  --ih-row-label-cols-mobile: 4;
  --ih-row-value-start: 4;
  --ih-row-value-start-mobile: 5;

  --ih-empty-color: #9CA3AF;
  --ih-empty-fs: 13px;
  --ih-empty-fs-mobile: 12px;

  --ih-cost-label-color: #9CA3AF;
  --ih-cost-total-color: #18171C;
  --ih-cost-total-weight: 700;
  --ih-cost-total-border: #E5E7EB;
}

.ih-card {
  background: var(--ih-card-bg);
  border: 1px solid var(--ih-card-border);
  border-radius: var(--ih-card-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.ih-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--ih-toggle-icon-gap);
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.ih-toggle-title {
  font-size: var(--ih-title-size);
  font-weight: var(--ih-title-weight);
  color: var(--ih-title-color);
  margin-right: auto;
}

.ih-badge {
  padding: 4px 12px;
  border-radius: var(--ih-badge-radius);
  font-size: var(--ih-badge-fs);
  font-weight: 600;
  white-space: nowrap;
}
.ih-badge--clean { background: var(--ih-badge-clean-bg); color: var(--ih-badge-clean-color); }
.ih-badge--warn { background: var(--ih-badge-warn-bg); color: var(--ih-badge-warn-color); }

.ih-toggle-arrow {
  flex: 0 0 auto;
  color: var(--ih-arrow-color);
  transition: transform .2s ease;
}
.ih-toggle.is-open .ih-toggle-arrow { transform: rotate(180deg); }

.ih-body[hidden] { display: none !important; }
.ih-body { padding: 0 20px 20px; }

.ih-section-title {
  margin: 24px 0 8px;
  font-size: var(--ih-section-title-size);
  font-weight: var(--ih-section-title-weight);
  color: var(--ih-section-title-color);
}
.ih-body > .ih-section-title:first-child { margin-top: 4px; }

/* Shared 6-column grid: label spans columns 1-3, value starts at column 4.
   Reused everywhere in the card (including accident cost breakdown rows)
   so every value column lands on the exact same vertical line. */
.ih-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ih-row-border);
  font-size: var(--ih-row-fs);
}
.ih-row:last-of-type { border-bottom: none; }
.ih-row-label {
  grid-column: 1 / span var(--ih-row-label-cols);
  color: var(--ih-row-label-color);
}
.ih-row-value {
  grid-column: var(--ih-row-value-start) / 7;
  text-align: left;
  color: var(--ih-row-value-color);
  font-weight: 500;
}

.ih-row--bold-label .ih-row-label { font-weight: 700; color: var(--ih-title-color); }

.ih-row--group-label { border-bottom: none; padding-bottom: 4px; }
.ih-row--group-label .ih-row-label { color: var(--ih-title-color); font-weight: 600; }
.cr-panel-summary-row .ih-row-label {
  font-size: var(--ih-section-title-size);
  font-weight: var(--ih-section-title-weight);
  color: var(--ih-section-title-color);
}

.ih-fault-rows { margin-bottom: 8px; }

.ih-fault-empty {
  margin: 0 0 8px;
  padding: 8px 0;
  color: var(--ih-empty-color);
  font-size: var(--ih-empty-fs);
}

/* One accident block: bold date header + indented Paint/Labor/Parts/Payout rows,
   all using .ih-row so their value column aligns with every other row in the card. */
.ih-accident + .ih-accident {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--ih-row-border);
}

.ih-row--date-line {
  border-top: 1px dashed var(--ih-cost-total-border);
  border-bottom: none;
  padding: 10px 0 6px;
}
.ih-row--date-line .ih-row-label {
  grid-column: 1 / var(--ih-row-value-start);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ih-accident-date {
  color: var(--ih-title-color);
  font-weight: 700;
}
.ih-cost-label-text {
  color: var(--ih-cost-label-color);
  font-weight: 400;
}
.ih-row--indent { border-bottom: none; padding: 6px 0; }
.ih-row--indent .ih-row-label {
  grid-column: 2 / var(--ih-row-value-start);
  color: var(--ih-cost-label-color);
  text-align: right;
}
.ih-row--indent .ih-row-value { font-variant-numeric: tabular-nums; }

.ih-row--total {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px dashed var(--ih-cost-total-border);
}
.ih-row--total .ih-row-label,
.ih-row--total .ih-row-value {
  color: var(--ih-cost-total-color);
  font-weight: var(--ih-cost-total-weight);
}

@media (max-width: 749px) {
  :root {
    --ih-title-size: var(--ih-title-size-mobile);
    --ih-title-weight: var(--ih-title-weight-mobile);
    --ih-badge-fs: var(--ih-badge-fs-mobile);
    --ih-section-title-size: var(--ih-section-title-size-mobile);
    --ih-section-title-weight: var(--ih-section-title-weight-mobile);
    --ih-row-fs: var(--ih-row-fs-mobile);
    --ih-row-label-cols: var(--ih-row-label-cols-mobile);
    --ih-row-value-start: var(--ih-row-value-start-mobile);
    --ih-empty-fs: var(--ih-empty-fs-mobile);
  }
  .ih-row { column-gap: 12px; }
}

/* ===== Option Info accordion (reuses .ih-card/.ih-toggle/.ih-body shell) ===== */
:root {
  --oi-toggle-title-color: #18171C;
  --oi-title-size: 22px;
  --oi-title-size-mobile: 17.7px;
  --oi-title-weight: 700;
  --oi-title-weight-mobile: 700;

  --oi-section-title-color: #18171C;
  --oi-section-title-size: 18px;
  --oi-section-title-size-mobile: 17px;
  --oi-section-title-weight: 700;

  --oi-item-fs: 16.1px;
  --oi-item-fs-mobile: 13.5px;
  --oi-item-gap: 6px;
  --oi-item-color-on: #18171C;
  --oi-item-color-off: #9CA3AF;

  --oi-icon-size: 16px;
  --oi-check-bg: #df472e;
  --oi-cross-bg: #E5E7EB;
  --oi-cross-color: #9CA3AF;

  --oi-columns: 3;
  --oi-columns-mobile: 1;
  --oi-column-gap: 32px;
  --oi-group-gap: 20px;
}

.oi-toggle-title {
  font-size: var(--oi-title-size);
  font-weight: var(--oi-title-weight);
}

.oi-groups {
  display: flex;
  flex-direction: column;
  gap: var(--oi-group-gap);
}

.oi-section-title {
  margin: 0 0 8px;
  font-size: var(--oi-section-title-size);
  font-weight: var(--oi-section-title-weight);
  color: var(--oi-section-title-color);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.oi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: var(--oi-columns);
  column-gap: var(--oi-column-gap);
}

.oi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--oi-item-gap) 0;
  font-size: var(--oi-item-fs);
  break-inside: avoid;
}

.oi-item::before { content: none; }

.oi-icon {
  position: relative;
  flex: 0 0 auto;
  width: var(--oi-icon-size);
  height: var(--oi-icon-size);
  border-radius: 4px;
  display: inline-block;
}
.oi-item--yes .oi-icon { background: var(--oi-check-bg); }
.oi-item--no .oi-icon { background: var(--oi-cross-bg); }

.oi-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 70%;
  mask-size: 70%;
}
.oi-item--yes .oi-icon::after {
  background: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.oi-item--no .oi-icon::after {
  background: var(--oi-cross-color);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}

.oi-item--yes { color: var(--oi-item-color-on); }

.oi-item--no { color: var(--oi-item-color-off); }

.oi-empty { color: var(--oi-item-color-off); font-size: var(--oi-item-fs); }

@media (max-width: 749px) {
  :root {
    --oi-section-title-size: var(--oi-section-title-size-mobile);
    --oi-item-fs: var(--oi-item-fs-mobile);
    --oi-columns: var(--oi-columns-mobile);
    --oi-title-size: var(--oi-title-size-mobile);
    --oi-title-weight: var(--oi-title-weight-mobile);
  }
}

.product-info-description .ih-card:first-of-type {
  margin-top: 24px;
}

@media (max-width: 749px) {
  .product-info-description .ih-card:first-of-type {
    margin-top: 20px;
  }
}

:root {
  --cr-badge-severe-bg: #FEF3F2;
  --cr-badge-severe-color: #B42318;
  --cr-badge-minor-bg: #FEF3F2;
  --cr-badge-minor-color: #B42318;
  --cr-badge-radius: 999px;
  --cr-badge-fs: 12px;
}

.cr-issue-list { margin-bottom: 8px; }

.cr-issue-row .ih-row-value { display: flex; justify-content: flex-start; }

.cr-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--cr-badge-radius);
  font-size: var(--cr-badge-fs);
  font-weight: 600;
}
.cr-status-badge--severe {
  background: var(--cr-badge-severe-bg);
  color: var(--cr-badge-severe-color);
}
.cr-status-badge--minor {
  background: var(--cr-badge-minor-bg);
  color: var(--cr-badge-minor-color);
}

:root {
  --cr-disclaimer-color: #6B7280;
  --cr-disclaimer-fs: 14px;

  --cr-chip-normal-bg: #FFFAEB;
  --cr-chip-normal-color: #B54708;

  --cr-chip-fs: 13.5px;
  --cr-chip-radius: 999px;
  --cr-chip-good-bg: #ECFDF3;
  --cr-chip-good-color: #067647;
  --cr-chip-bad-bg: #FEF3F2;
  --cr-chip-bad-color: #B42318;
  --cr-chip-caution-bg: #FEF3F2;
  --cr-chip-caution-color: #B42318;

  --cr-mini-badge-fs: 11px;
  --cr-mini-badge-clean-bg: #F3F4F6;
  --cr-mini-badge-clean-color: #6B7280;
  --cr-mini-badge-warn-bg: #FEF3F2;
  --cr-mini-badge-warn-color: #B42318;
}

.cr-disclaimer {
  margin: 0 0 16px;
  color: var(--cr-disclaimer-color);
  font-size: var(--cr-disclaimer-fs);
  font-style: italic;
}

.cr-chip {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--cr-chip-radius);
  font-size: var(--cr-chip-fs);
  font-weight: 600;
}
.cr-chip--good { background: var(--cr-chip-good-bg); color: var(--cr-chip-good-color); }
.cr-chip--bad { background: var(--cr-chip-bad-bg); color: var(--cr-chip-bad-color); }
.cr-chip--caution { background: var(--cr-chip-caution-bg); color: var(--cr-chip-caution-color); }
.cr-chip--normal { background: var(--cr-chip-normal-bg); color: var(--cr-chip-normal-color); }

.cr-mini-badges {
  display: flex;
  gap: 8px;
}
.cr-mini-badges .cr-mini-badge {
  flex: 1 1 0;
  text-align: center;
  font-size: 13px;
  padding: 8px 6px;
}

.cr-panel-summary-row--mobile { display: none; }

@media (max-width: 749px) {
  .cr-panel-summary-row--desktop { display: none !important; }
  .cr-panel-summary-row--mobile { display: block; }
  .cr-panel-summary-row--mobile.cr-mini-badges { display: flex; }
}

.cr-mini-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: var(--cr-mini-badge-fs);
  font-weight: 600;
  white-space: nowrap;
}
.cr-mini-badge--clean {
  background: var(--cr-mini-badge-clean-bg);
  color: var(--cr-mini-badge-clean-color);
}
.cr-mini-badge--warn {
  background: var(--cr-mini-badge-warn-bg);
  color: var(--cr-mini-badge-warn-color);
}

/* ============================================================
   MAX AUTO — C&F freight calculator (PDP price box)
   Append to the end of assets/section-main-product.css

   REPLACES any previous freight-calculator.css block — delete old
   .fc-box / .fc-row / .fc-select rules before pasting this in.
   ============================================================ */

:root {
  /* Each field: its own rounded pill, no shared outer box */
  --fc-field-radius: 14px;
  --fc-field-bg: transparent;
  --fc-field-border: #E5E7EB;
  --fc-field-border-focus: #B42318;
  --fc-field-option-padding: 10px 12px;
  --fc-field-gap: 8px;
  --fc-field-padding: 12px 14px;
  --fc-field-min-height: 68px;
  --fc-field-icon-size: 18px;
  --fc-field-icon-color: #9CA3AF;
  --fc-field-fs: 14px;
  --fc-field-fs-mobile: 13px;
  --fc-field-color: #111827;
  --fc-field-placeholder-color: #9CA3AF;
  --fc-field-chevron-size: 14px;

  /* Helper note (text style now matches --fc-field-fs/--fc-field-color) */
  --fc-note-line-gap: 2px;
}

/* --- independent rounded pill field --- */

.fc-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--fc-field-min-height);
  margin-bottom: var(--fc-field-gap);
  padding: var(--fc-field-padding);
  border: 1px solid var(--fc-field-border);
  border-radius: var(--fc-field-radius);
  background: var(--fc-field-bg);
  box-sizing: border-box;
}

.fc-field:focus-within {
  border-color: var(--fc-field-border-focus);
}

/* Icon always matches the field's current text color (dark once a value is
   set, muted gray while the field is disabled/placeholder). */
.fc-field-icon {
  flex-shrink: 0;
  width: var(--fc-field-icon-size);
  height: var(--fc-field-icon-size);
  color: var(--fc-field-color);
}

.fc-field:has(.fc-field-select:disabled) .fc-field-icon,
.fc-field:has(.fc-field-select:disabled) .fc-field-chevron {
  color: var(--fc-field-placeholder-color);
}

.fc-field-select {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--fc-field-fs);
  font-weight: 600;
  color: var(--fc-field-color);
  cursor: pointer;
  box-shadow: none; /* Chrome adds a faint default shadow to <select> even with appearance:none */
}

.fc-field-select:focus {
  outline: none;
}

.fc-field-select:disabled {
  cursor: not-allowed;
  color: var(--fc-field-placeholder-color);
}

/* First option ("Destination Country" / "Port / City") acts as the
   placeholder — styled the same muted tone whether enabled or disabled. */
.fc-field-select option[value=""] {
  color: var(--fc-field-placeholder-color);
}

/* Taller tap targets in the popup list. Chromium/desktop browsers honor
   option padding; iOS/Android render their own native picker and ignore it —
   that part of the request can't be reached from CSS. */
.fc-field-select option {
  padding: var(--fc-field-option-padding);
}

.fc-field-chevron {
  flex-shrink: 0;
  width: var(--fc-field-chevron-size);
  height: var(--fc-field-chevron-size);
  color: var(--fc-field-color);
  pointer-events: none;
}

/* --- helper note: boxed like the fields above it, icon + one sentence per line --- */

.fc-note-text {
  flex: 1 1 auto;
  min-width: 0;
}

.fc-note-line {
  font-size: var(--fc-field-fs);
  font-weight: 600;
  color: var(--fc-field-color);
  line-height: 1.4;
}

.fc-note-line + .fc-note-line {
  margin-top: var(--fc-note-line-gap);
}

@media (max-width: 749px) {
  :root {
    --fc-field-fs: var(--fc-field-fs-mobile);
  }
}