/* --- Ogólny kontener Kreatora Kawy --- */
.cc-quiz-container { max-width: 600px; height: 600px; margin: 40px auto 150px; padding: 10em 5em 0; background-color: #f9f9f9; border: 1px solid #d7aa95; border-radius: 50%; font-family: inherit; text-align: center; position: relative; }
.cc-popup-modal .cc-quiz-container { border-radius: 8px; height: auto; margin: 40px auto 40px; padding: 5em 10em;}


.cc-header h2 { font-size: 2.2em; margin-top: 0; margin-bottom: 0.5em; }

.cc-header p { font-size: 1.2em; color: #333; margin-bottom: 2em; }

.cc-step { margin-bottom: 2em; padding-bottom: 2em; border-bottom: 1px dashed #ccc; }
.cc-step:last-child { border-bottom: none; }
.steps {color: #d7aa95;}
/* .cc-step h3 { margin-bottom: 1em; font-size: 1.3em; color: #333; }*/
.cc-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cc-button, .cc-button:hover {border: none !important;}
.cc-button.selected { background-color: var(--primary-color, #2c3e50); color: #fff;}
.cc-button.disabled { opacity: 0.6; cursor: not-allowed; background-color: #f5f5f5; }
.cc-result h3 { margin-bottom: 1em; }
.cc-recommended-product { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 1.5em; padding: 1em; background-color: #fff; border-radius: 5px; border: 1px solid #e0e0e0; }
@media (min-width: 500px) { .cc-recommended-product { flex-direction: row; text-align: left; } }
.cc-recommended-product img { max-width: 100px; width: 100%; height: auto; margin-right: 1.5em; border-radius: 5px; margin-bottom: 1em; }
@media (min-width: 500px) { .cc-recommended-product img { margin-bottom: 0; } }
.cc-recommended-product .product-info h4 { margin: 0 0 0.5em 0; }
.cc-recommended-product .product-info h4 a { text-decoration: none; font-size: 1.2em; color: inherit; }
.cc-button-add, .cc-button-reset { display: inline-block; }
.cc-button-add:hover, .cc-button-reset:hover {color: #f1f1f1; background-color: var(--primary-color, #2c3e50) !important; }
.cc-error { color: #c0392b; font-weight: bold; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.cc-loader { border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-color, #d7aa95); border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 20px auto; }

/* --- Style dla Pop-upu --- */
.cc-icon {position: absolute; top: 20px; left: 20px; width: 60px; height: 60px; background-color: #d7aa95; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 9998; transition: transform 0.2s ease-in-out;}
.cc-popup-trigger { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background-color: var(--primary-color, #d7aa95); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 9998; transition: transform 0.2s ease-in-out; }
.cc-popup-trigger:hover { transform: scale(1.1); }
.cc-popup-trigger .dashicons, .cc-icon .dashicons { font-size: 30px; width: 30px; height: 30px; }
.cc-popup-container.cc-popup-hidden { display: none; }
.cc-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 9999; }
.cc-popup-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; background: #fff; z-index: 10000; border-radius: 8px; }
.cc-popup-modal .cc-quiz-container { margin: 0; max-width: 100%; border: none; box-shadow: none; }
.cc-popup-close { position: absolute; top: 10px; right: 15px; font-size: 2.5em; font-weight: bold; color: #999; background: none; border: none; cursor: pointer; line-height: 1; z-index: 10001; }
.cc-popup-close:hover { color: #333; }
@media (max-width: 499px) { 
	.cc-icon {top: 5px; left: 5px; width: 36px; height: 36px;}
	.cc-header h2 { font-size: 1.8em; margin-top: 0; margin-bottom: 0.5em; }
	.cc-quiz-container { max-width: 460px; height: auto !important; margin: 40px auto 100px; padding: 5em; border-radius: 8px;}
	.cc-popup-modal .cc-quiz-container { border-radius: 8px; height: auto; margin: 20px auto 20px; padding: 3em 3em;}
}
.quiz-code {font-size: 14px; margin-bottom: 0.5em;}
.quiz-code span {background: #493f38; color: #fff; font-weight: 600; padding: 0 10px;}
