.wc-custom-hidden-field { display: none !important; }
.postcard-radio-options { display: flex; gap: 20px; margin-top: 8px; flex-wrap: wrap; }
.postcard-radio-options label { cursor: pointer; font-weight: 500; font-size: 15px; }

.postcard-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 10px; }
.postcard-modal-content { background: #fff; border-radius: 12px; width: 100%; max-width: 480px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.3); direction: rtl; }

.postcard-modal-header { padding: 12px 20px; background: #fff; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.postcard-modal-header h4 { margin: 0; font-size: 18px; font-weight: bold; color: #222; }
.postcard-modal-close { font-size: 22px; cursor: pointer; color: #666; line-height: 1; }

.postcard-modal-body { padding: 15px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; align-items: center; }

.postcard-main-preview { width: 100%; height: 260px; background: #f5f5f5; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; flex-shrink: 0; }
.postcard-main-preview img { width: 100%; height: 100%; object-fit: contain !important; display: block; }

.main-card-info-text { text-align: center; margin-bottom: 10px; min-height: 24px; font-size: 14px; font-weight: bold; color: #333; width: 100%; flex-shrink: 0; }

.postcard-thumbs-slider-wrapper { display: flex; align-items: center; width: 100%; gap: 5px; position: relative; margin-bottom: 8px; flex-shrink: 0; }
.postcard-thumbs-grid { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; padding: 5px 2px; width: 100%; scrollbar-width: none; }
.postcard-thumbs-grid::-webkit-scrollbar { display: none; }

.postcard-thumb-item { min-width: 75px; width: 75px; height: 75px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; transition: all 0.2s; background: #eee; }
.postcard-thumb-item.active { border-color: #2271b1 !important; transform: scale(1.05); }
.postcard-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slider-arrow { background: #fff; border: 1px solid #ccc; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; z-index: 5; flex-shrink: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.15); user-select: none; }

.postcard-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 5px; flex-shrink: 0; }
.postcard-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e0; transition: background 0.3s; }
.postcard-dots .dot.active { background: #2271b1; width: 20px; border-radius: 10px; }

.postcard-modal-footer-actions { padding: 12px 15px; background: #fff; border-top: 1px solid #f0f0f0; display: flex; gap: 12px; flex-shrink: 0; }
.btn-postcard-action { flex: 1; padding: 12px 10px; border-radius: 10px; border: none; font-size: 15px; font-weight: bold; cursor: pointer; text-align: center; color: #fff; transition: opacity 0.2s; }
.btn-postcard-action.cancel { background-color: #e53935; }
.btn-postcard-action.confirm { background-color: #2e7d32; }

@media (max-width: 480px) {
    .postcard-main-preview { height: 210px; }
    .postcard-thumb-item { min-width: 65px; width: 65px; height: 65px; }
    .btn-postcard-action { font-size: 14px; padding: 10px; }
}