.qty-size {
    flex-basis: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.qty-size[hidden] {
    display: none;
}

/* Customise popup */
.cp-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
}

.cp-overlay[hidden] {
    display: none;
}

.cp-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    color: #3d4152;
    text-align: left;
}

.cp-head {
    position: relative;
    margin: 0 14px;
    padding: 26px 44px 14px 12px;
    border-bottom: 1px solid #d9d9de;
}

.cp-sub {
    margin: 0 0 4px;
    font-size: 13px;
    color: #686b78;
}

.cp-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #282c3f;
}

.cp-close {
    position: absolute;
    top: 20px;
    right: -2px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    font-size: 20px;
    line-height: 1;
    color: #282c3f;
    cursor: pointer;
}

.cp-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 14px 24px;
    background: #f1f1f6;
}

.cp-section-title {
    margin: 20px 0 10px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #3d4152;
}

.cp-section-title span {
    font-weight: 500;
    color: #7e808c;
}

.cp-card {
    padding: 4px 18px;
    border-radius: 16px;
    background: #fff;
}

.cp-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: #3d4152;
    cursor: pointer;
}

.cp-row[hidden] {
    display: none;
}

.cp-name {
    flex: 1;
}

.cp-price {
    color: #686b78;
}

.cp-row input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #fc8019;
    cursor: pointer;
}

.cp-row.cp-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.cp-row input:disabled {
    cursor: not-allowed;
}

.cp-mark {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 1.5px solid;
    border-radius: 3px;
}

.cp-mark.veg {
    border-color: #1ba672;
}

.cp-mark.veg::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #1ba672;
}

.cp-mark.nonveg {
    border-color: #e43b4f;
}

.cp-mark.nonveg::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 3px;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #e43b4f;
}

.cp-more {
    display: block;
    padding: 10px 0 14px 28px;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: #686b78;
    cursor: pointer;
}

.cp-more[hidden] {
    display: none;
}

.cp-summary {
    margin: 0;
    padding: 10px 24px;
    border-top: 1px solid #eee;
    background: #fff8f0;
    font-size: 13px;
    color: #3d4152;
}

.cp-summary[hidden] {
    display: none;
}

.cp-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px 16px;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.cp-total {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #282c3f;
}

.cp-view {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    color: #fc5c00;
    cursor: pointer;
}

.cp-submit {
    flex: 1;
    max-width: 262px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #1ba672;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.cp-submit:hover {
    filter: brightness(0.95);
}

/* Cut (strike-through) price shown before the real price */
.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.old-price {
    font-size: 14px;
    font-weight: 500;
    color: #9a9a9a;
    text-decoration: line-through;
}

.pricing-item .old-price {
    font-size: 20px;
}

td .old-price {
    margin-right: 8px;
}

/* Rating by number (out of 5) with the count of customers who purchased */
.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.4;
}

.rating i {
    font-size: 14px;
    color: #0B7A3B;
}

.rating .rating-value {
    font-weight: 700;
    color: #0B7A3B;
}

.rating .rating-count {
    font-weight: 500;
    color: #7e808c;
}
