.pl1776-card-cart {
    clear: both;
    margin: 30px 0;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #d7c6a6;
    border-radius: 12px;
    background: #fbf7ef;
    color: #243247 !important;
    box-shadow: 0 8px 28px rgba(36, 50, 71, 0.08);
}

.pl1776-card-cart h2,
.pl1776-card-cart h3,
.pl1776-card-cart p,
.pl1776-card-cart label {
    color: #243247 !important;
}

.pl1776-card-cart__eyebrow {
    margin: 0 0 5px;
    color: #9a3f39 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pl1776-card-cart h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
}

.pl1776-card-cart__heading > p:last-child {
    max-width: 760px;
    margin: 0;
}

.pl1776-card-cart__choice {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.pl1776-card-cart__choice label {
    padding: 12px 16px;
    border: 1px solid #c8b58f;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.pl1776-card-cart__builder[hidden],
.pl1776-card-cart__personalization[hidden] {
    display: none;
}

.pl1776-card-cart__label,
.pl1776-card-cart__personalization label {
    display: block;
    margin: 0 0 7px;
    font-weight: 700;
}

.pl1776-card-cart select,
.pl1776-card-cart input[type="text"],
.pl1776-card-cart textarea {
    width: 100%;
    max-width: 680px;
    margin-top: 7px;
    border: 1px solid #aa9b7d;
    border-radius: 6px;
    background: #ffffff;
    color: #243247 !important;
}

.pl1776-card-cart__results {
    margin-top: 25px;
}

.pl1776-card-cart__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 920px;
}

.pl1776-card-option {
    position: relative;
    display: block;
    overflow: hidden;
    border: 2px solid #d7c6a6;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pl1776-card-option:hover,
.pl1776-card-option.is-selected {
    border-color: #9a3f39;
    box-shadow: 0 7px 18px rgba(36, 50, 71, 0.14);
    transform: translateY(-2px);
}

.pl1776-card-option input {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.pl1776-card-option img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #eee5d5;
}

.pl1776-card-option__copy {
    display: grid;
    gap: 4px;
    padding: 12px;
}

.pl1776-card-option__price {
    color: #9a3f39 !important;
    font-weight: 700;
}

.pl1776-card-cart__personalization {
    max-width: 920px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #d7c6a6;
}

.pl1776-card-cart__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pl1776-card-cart__count {
    margin: -2px 0 0;
    color: #6b6254 !important;
    font-size: 13px;
}

.pl1776-card-cart__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.pl1776-card-cart__actions .button {
    background: #9a3f39 !important;
    color: #ffffff !important;
}

.pl1776-card-cart__actions .button:hover {
    background: #76302c !important;
    color: #ffffff !important;
}

.pl1776-card-cart__status {
    margin: 0;
    font-weight: 700;
}

.pl1776-card-cart__status.is-error {
    color: #9a251f !important;
}

.woocommerce-cart-form .pl1776-card-addon-row > td {
    background: #fbf7ef;
}

.pl1776-card-addon-label {
    display: block;
    margin-bottom: 3px;
    color: #9a3f39 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.pl1776-card-reminder-open {
    overflow: hidden;
}

.pl1776-card-reminder[hidden] {
    display: none;
}

.pl1776-card-reminder {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.pl1776-card-reminder__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 31, 47, 0.72);
}

.pl1776-card-reminder__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 570px);
    padding: clamp(26px, 5vw, 44px);
    border: 1px solid #d7c6a6;
    border-radius: 12px;
    background: #fbf7ef;
    color: #243247 !important;
    box-shadow: 0 24px 70px rgba(20, 31, 47, 0.3);
    text-align: center;
}

.pl1776-card-reminder__dialog h2 {
    margin: 4px 0 12px;
    color: #243247 !important;
}

.pl1776-card-reminder__dialog p {
    color: #243247 !important;
}

.pl1776-card-reminder__close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 2px 8px;
    border: 0;
    background: transparent;
    color: #243247 !important;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.pl1776-card-reminder__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pl1776-card-reminder__actions .button.alt {
    background: #9a3f39 !important;
    color: #ffffff !important;
}

.pl1776-card-reminder__actions .button:not(.alt) {
    border: 1px solid #9a3f39;
    background: #ffffff !important;
    color: #9a3f39 !important;
}

@media (max-width: 650px) {
    .pl1776-card-cart__fields {
        grid-template-columns: 1fr;
    }

    .pl1776-card-cart__choice {
        display: grid;
    }

    .pl1776-card-reminder__actions {
        display: grid;
    }
}
