.text-primary.sketch-underline {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 25 0, 50 5 T 100 5' stroke='%23EF4444' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 4px;
}

.cart-popup {
    display: none;
}

.cart-container:hover .cart-popup {
    display: block;
}

.icon-filled {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.product-detail-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border: 2.5px solid #161b27;
    background: #fff;
    transition: border-color 180ms ease;
}

.product-detail-thumbnail.is-active {
    border-color: #630ed4;
}

.product-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-variant-images {
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-detail-variant-images.is-active {
    display: flex;
}

#product-detail-qty {
    width: 3.5rem;
    min-width: 3.5rem;
    padding: 0;
    border: 0;
    appearance: textfield;
    -moz-appearance: textfield;
    line-height: 1;
    text-align: center;
}

#product-detail-qty::-webkit-inner-spin-button,
#product-detail-qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

#product-detail-qty:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px #630ed4;
}

#product-detail-custom-name-editor.is-empty::before {
    color: #6b7280;
    content: attr(data-placeholder);
    pointer-events: none;
}

[data-qty-decrease]:disabled,
[data-qty-increase]:disabled,
[data-product-detail-add-to-cart]:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.product-color-swatch {
    width: 2.5rem;
    height: 2.5rem;
    border: 2.5px solid #161b27;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-color-swatch:hover {
    transform: translate(-2px, -2px);
}

.product-color-swatch.is-active {
    box-shadow: 0 0 0 2px #faf9ff, 0 0 0 4px #630ed4;
}

.product-variant-option {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    border: 2px solid #161b27;
    background: #fff;
    padding: 0;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-variant-option:not(.is-active):hover {
    transform: translateY(-0.25rem);
}

.product-variant-option.is-active {
    box-shadow: 0 0 0 2px #faf9ff, 0 0 0 4px #630ed4;
}

.product-variant-option:focus-visible {
    outline: 2px solid #630ed4;
    outline-offset: 4px;
}

.product-variant-option--size {
    width: auto;
    min-width: 3.5rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    font-family: var(--font-label);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.product-variant-option__colors {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    width: 100%;
    height: 100%;
    flex: 1 1 100%;
    overflow: hidden;
    border: 0;
    background: #faf9ff;
}

.product-variant-option__chip {
    min-width: 0;
    min-height: 100%;
}

.product-availability-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 2.5px solid #161b27;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
}

.product-availability-note .material-symbols-outlined {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.product-availability-note--available {
    border-color: #16a34a;
    background: #ecfdf5;
    color: #166534;
}

.product-availability-note--unavailable {
    border-color: #dc2626;
    background: #fef2f2;
    color: #991b1b;
}

.product-availability-note__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
