.hc-wps {
    display: grid;
    grid-template-columns: 900fr 564fr;
    gap: clamp(24px, 3vw, 56px);
    align-items: start;
    padding: 80px 16px;
}

@media screen and (min-width: 1530px) {
    .hc-wps {
        padding: 80px 0;
    }
}

.hc-wps__media,
.hc-wps__summary {
    min-width: 0;
}

.single_add_to_cart_button.button.alt {
    width: calc(100% - 140px);
}

.hc-wps__gallery-stage {
    position: relative;
    background: var(--theme-palette-color-8, #f4f4f4);
    border: 1px solid var(--theme-border-color, #ddd);
    border-radius: 10px;
    overflow: hidden;
}

.hc-wps__gallery-track {
    display: grid;
}

.hc-wps__delivery-time {
    width: 100%;
    opacity: 1;
    border-radius: 4px;
    padding: 16px;
    border: 1px solid #C3C3C3;
    background: #F4F4F4;
    margin: 24px auto;
}

.hc-wps__gallery-slide {
    grid-area: 1 / 1;
    margin: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.38s ease,
    transform 0.38s ease,
    visibility 0s linear 0.38s;
}

.hc-wps__gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.38s ease,
    transform 0.38s ease,
    visibility 0s linear 0s;
    z-index: 1;
}

.hc-wps__gallery-slide img,
.hc-wps__gallery-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.hc-wps__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hc-wps__thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border: 1px solid var(--theme-border-color, #d9d9df);
    border-radius: 6px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: transform 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

@media screen and (min-width: 991px) {
    .hc-wps__thumb {
        width: 104px;
        height: 104px;
    }
}

.hc-wps__thumb:hover {
    transform: translateY(-2px);
}

.hc-wps__thumb.is-active {
    border-color: var(--theme-palette-color-1, #1d1b4f);
}

.hc-wps__thumb.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: var(--theme-palette-color-1, #1d1b4f);
    border-radius: 999px;
}

.hc-wps__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.hc-wps__summary.is-sticky-summary {
    position: sticky;
    top: 24px;
}

h2.hc-wps__title {
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    color: var(--theme-palette-color-1, #1d1b4f);
    margin-bottom: 8px;
    margin-block-end: auto;
    font-size: 24px;
}

@media (min-width: 991px) {
    letter-spacing: 0;
    font-size: 32px;
}

.hc-wps__tagline p {
    font-weight: 600;
    font-size: 14px;
    color: var(--theme-palette-color-1, #1d1b4f);
    line-height: 130%;
    letter-spacing: 0;
}

.hc-wps__tagline p,
.hc-wps__tax-note,
.hc-wps__accordion-content,
.hc-wps__swatch-help,
.hc-wps__accessory-price,
.hc-wps__accessory-name {
    color: var(--theme-palette-color-1, #1d1b4f);
}

.hc-wps__accessory-price {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    display: block;

}

.hc-wps__price-wrap {
    margin: 8px 0;
}

@media (min-width: 991px) {
    .hc-wps__price-wrap {
        margin: 24px 0;
    }
}

.hc-wps__price {
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0;
    text-align: justify;

}

.hc-wps__price .amount {
    color: inherit;
}

.hc-wps__tax-note {
    margin-top: 8px;
}

.hc-wps__swatches {
    margin: 24px 0;
}

.hc-wps__swatches-label,
.hc-wps__accessories-title {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--theme-palette-color-1, #1d1b4f);
}

.hc-wps__swatch-list {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.hc-wps__swatch {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--theme-border-color, #c8cad6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #777;
    font-size: 12px;
}

.hc-wps__accordions {
    margin-bottom: 24px;
}

.hc-wps__accordion {
    border-bottom: 1px solid var(--theme-border-color, #ddd);
}

.hc-wps__accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 28px 18px 0;
    position: relative;
    font-weight: 500;
    color: var(--theme-palette-color-1, #1d1b4f);
}

.hc-wps__accordion summary::-webkit-details-marker {
    display: none;
}

.hc-wps__accordion summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--theme-palette-color-1, #1d1b4f);
    border-bottom: 1.5px solid var(--theme-palette-color-1, #1d1b4f);
    transition: transform 0.2s ease;
}

.hc-wps__accordion[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}

.hc-wps__accordion-content {
    padding: 0 0 18px;
    font-size: 14px;
}

.hc-wps__accordion-content p:last-child {
    margin-bottom: 0;
}

.hc-wps__cart .woocommerce-variation-add-to-cart,
.hc-wps__cart .ct-cart-actions,
.hc-wps__cart .single_variation_wrap {
    width: 100%;
}

.hc-wps__variant-picker {
    margin: 0 0 49.5px;
}

form.variations_form .hc-wps__variant-picker table.variations tr {
    gap: 0;
}

.hc-wps__variant-picker .variations {
    width: 100%;
    margin: 0;
    border: 0;
}

.hc-wps__variant-picker .variations th,
.hc-wps__variant-picker .variations td {
    border: 0;
    padding: 0 0 12px;
    display: block;
}

.hc-wps__variant-picker .variations th.label label {
    display: block;
    margin-bottom: 16px;
}

.hc-wps__variant-picker .variations td.value .reset_variations {
    display: none !important;
}

.hc-wps__cart .woocommerce-variation-availability {
    display: none;
}

.hc-wps__cart .quantity,
.hc-wps__cart .single_add_to_cart_button {
    min-height: 52px;
}

.hc-wps__gallery-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.hc-wps__cart form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.hc-wps__cart form.cart .quantity {
    max-width: 86px;
    height: 56px;
    flex-direction: row;
    flex-wrap: wrap;
}

.hc-wps__cart form.cart .single_add_to_cart_button {
    flex: 0 0 calc(100% - 96px);
    border-radius: 6px;
    max-width: calc(100% - 96px);
}

.hc-wps__cart form.cart .ct-cart-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hc-wps__cart .variations {
    margin-bottom: 16px;
}

.hc-wps__cart .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hc-wps__accessories {
    margin-top: 28px;
}

.hc-wps__accessories-list {
    display: grid;
    gap: 12px;
}

.hc-wps__accessory-card {
    border: 1px solid var(--theme-border-color, #ddd);
    border-radius: 8px;
    padding: 16px;
}

.hc-wps__accessory-content {
    line-height: 1;
}

.hc-wps__accessory-image img {
    width: 100%;
    height: 127px;
    object-fit: contain;
    background-color: #d9dbd9;
    border-radius: 4px 0 0 4px;
    display: block;
    margin-bottom: 16px;
}

.hc-wps__accessory-name {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.hc-wps__accessory-actions {
    margin-top: 8px;
}

.hc-wps__accessory-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--theme-palette-color-1, #1d1b4f);
    background-color: transparent;
    color: var(--theme-palette-color-1, #1d1b4f);
}

@media screen and (min-width: 991px) {
    .hc-wps__accessory-content {
        padding: 16px 0 0 16px;
        line-height: 1;
    }

    .hc-wps__accessory-image img {
        width: 113px;
        height: 113px;
        margin-bottom: 0;
    }

    .hc-wps__accessory-card {
        display: grid;
        grid-template-columns: 113px 1fr;
        border: 1px solid var(--theme-border-color, #ddd);
        border-radius: 8px;
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .hc-wps {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    .hc-wps__summary.is-sticky-summary {
        position: static;
    }
}

.hc-wps__gallery-stage {
    position: relative;
    background: var(--theme-palette-color-8, #f4f4f4);
    border: 1px solid var(--theme-border-color, #ddd);
    border-radius: 10px;
    overflow: hidden;
}

.hc-wps__gallery-track {
    position: relative;
    overflow: hidden;
}

.hc-wps__gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.45s ease,
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
    z-index: 1;
}

.hc-wps__gallery-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.45s ease,
    opacity 0.45s ease,
    visibility 0s linear 0s;
    z-index: 2;
}

.hc-wps__gallery-slide.is-prev {
    opacity: 0;
    visibility: visible;
    transform: translateX(-100%);
    z-index: 1;
}

.hc-wps__gallery-slide.is-next {
    opacity: 0;
    visibility: visible;
    transform: translateX(100%);
    z-index: 1;
}

.hc-wps__gallery-slide img,
.hc-wps__gallery-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.hc-wps__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hc-wps__thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border: 1px solid var(--theme-border-color, #d9d9df);
    border-radius: 6px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: transform 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

@media screen and (min-width: 991px) {
    .hc-wps__thumb {
        width: 104px;
        height: 104px;
    }
}

.hc-wps__thumb:hover {
    transform: translateY(-2px);
}

.hc-wps__thumb.is-active {
    border-color: var(--theme-palette-color-1, #1d1b4f);
}

.hc-wps__thumb.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: var(--theme-palette-color-1, #1d1b4f);
    border-radius: 999px;
}

.hc-wps__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.hc-wps__gallery-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.hc-wps__gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(23, 28, 86, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #171c56;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
    padding: 0;
    line-height: 1;
}

.hc-wps__gallery-nav:hover {
    background: #fff;
    border-color: rgba(23, 28, 86, 0.35);
}

.hc-wps__gallery-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.hc-wps__gallery-nav span {
    font-size: 28px;
    line-height: 1;
    transform: translateY(-1px);
}

.hc-wps__gallery-nav--prev {
    left: 14px;
}

.hc-wps__gallery-nav--next {
    right: 14px;
}

@media (max-width: 767px) {
    .hc-wps__gallery-nav {
        width: 38px;
        height: 38px;
    }

    .hc-wps__gallery-nav--prev {
        left: 10px;
    }

    .hc-wps__gallery-nav--next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-wps__gallery-slide,
    .hc-wps__thumb,
    .hc-wps__gallery-nav {
        transition: none;
    }
}

.hc-wps__tax-note,
.hc-wps__tax-rate-prefix {
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
}

.hc-wps-lightbox[hidden] {
    display: none !important;
}

.hc-wps-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.hc-wps-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.hc-wps-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.hc-wps-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hc-wps-lightbox__close,
.hc-wps-lightbox__nav {
    position: absolute;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.hc-wps-lightbox__close {
    top: 20px;
    right: 20px;
    font-size: 36px;
    width: 48px;
    height: 48px;
}

.hc-wps-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    width: 56px;
    height: 56px;
}

.hc-wps-lightbox__nav--prev {
    left: 20px;
}

.hc-wps-lightbox__nav--next {
    right: 20px;
}

.hc-wps-lightbox__caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    color: #fff;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .hc-wps__gallery-slide,
    .hc-wps__thumb,
    .hc-wps__gallery-nav {
        transition: none;
    }
}