.my-popup-trigger {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.my-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.my-popup-box {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.my-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.my-popup-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #222;
}

.my-popup-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.my-popup-close:hover {
    background: #f2f2f2;
}

.my-popup-body {
    padding: 20px 10px;
}
.my-popup-notice {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.my-popup-notice li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.8;
    color: #2e7d32;
}

.my-popup-notice li::before {
    content: "*";
    position: absolute;
    right: 0;
    top: 0;
    color: #2e7d32;
    font-weight: bold;
}

.my-popup-notice strong {

    font-weight: bold;
    	text-decoration: underline;
	font-size:13px;
}
.my-popup-dimensions {
    display: flex;
    gap: 12px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.my-popup-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.my-popup-field label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}
.my-popup-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    font-family: inherit;
}

.my-popup-input:focus {
    outline: none;
    border-color: #0073aa;
}

/* حذف فلش بالا/پایین اینپوت عددی تو کروم/سافاری */
.my-popup-input::-webkit-outer-spin-button,
.my-popup-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.my-popup-input[type="number"] {
    -moz-appearance: textfield;
}
.my-popup-field label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #0073aa;
}
.my-icon-rotate {
    display: inline-block;
    transform: rotate(90deg);
}
.my-popup-total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 14px 16px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 15px;
}

.my-popup-total-label {
    font-weight: bold;
    color: #333;
}

.my-popup-total-amount {
    font-weight: bold;
    font-size: 18px;
    color: #0073aa;
}

.my-popup-total-currency {
    color: #666;
    font-size: 13px;
}
.my-popup-value-display {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    text-align: center;
}
.my-popup-add-to-cart {
    width: 100%;
    background: #999;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s;
}

.my-popup-add-to-cart:hover {
    background: #0073aa;
}

.my-popup-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.my-popup-error {
    background: #fdecea;
    color: #b3261e;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}

/* پاپ‌آپ دوم (خلاصه‌ی سفارش) */
.my-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.my-summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.my-summary-list li span:first-child {
    color: #666;
}

.my-summary-list li span:last-child {
    font-weight: bold;
    color: #222;
}

.my-summary-actions {
    display: flex;
    gap: 10px;
}

.my-summary-actions a,
.my-summary-actions button {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.my-summary-continue {
    background: #f2f2f2;
    color: #333;
}

.my-summary-view-cart {
    background: #0073aa;
    color: #fff;
}
.my-popup-selection-summary {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #f7f7f7;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #555;
}

.my-popup-selection-summary strong {
    color: #111;
}