.scg-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.scg-card {
border: 2px solid var(--scg-primary, #2d5016);
border-radius: 16px;
padding: 30px;
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.scg-header {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.scg-image {
width: 150px;
height: 150px;
object-fit: cover;
object-position: center;
border-radius: 12px;
flex-shrink: 0;
aspect-ratio: 1 / 1;
}
.scg-title {
margin: 0 0 10px 0;
color: var(--scg-primary, #2d5016);
font-size: 24px;
}
.scg-description {
color: #555;
line-height: 1.6;
}
.scg-pricing {
display: flex;
gap: 15px;
margin: 20px 0;
flex-wrap: wrap;
}
.scg-price-box {
flex: 1;
min-width: 140px;
padding: 15px;
border-radius: 10px;
text-align: center;
}
.scg-price-regular {
background: #f0f0f0;
}
.scg-price-regular .scg-price-value {
text-decoration: line-through;
color: #999;
}
.scg-price-grupal {
background: linear-gradient(135deg, var(--scg-primary, #2d5016), #4a7c1f);
color: white;
}
.scg-price-label {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 5px;
}
.scg-price-value {
font-size: 28px;
font-weight: bold;
}
.scg-progress {
margin: 25px 0;
}
.scg-progress-bar {
height: 12px;
background: #e0e0e0;
border-radius: 6px;
overflow: hidden;
}
.scg-progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--scg-primary, #2d5016), #5a9a25);
border-radius: 6px;
transition: width 0.5s ease;
}
.scg-progress-text {
text-align: center;
margin-top: 10px;
color: #666;
font-size: 14px;
}
.scg-btn {
display: block;
width: 100%;
padding: 18px 30px;
background: var(--scg-primary, #2d5016);
color: white;
border: none;
border-radius: 10px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.scg-btn:hover {
background: var(--scg-primary-hover, #3d6a1f);
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.scg-btn:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.scg-btn-toggle {
background: var(--scg-toggle, #28a745);
}
.scg-btn-toggle:hover {
background: var(--scg-toggle-hover, #218838);
}
.scg-btn-secondary {
background: #6c757d;
}
.scg-btn-secondary:hover {
background: #5a6268;
}
.scg-terms-wrapper {
display: flex;
align-items: flex-start;
gap: 10px;
margin: 15px 0;
padding: 12px;
background: #f8f9fa;
border-radius: 8px;
}
.scg-terms-wrapper input[type="checkbox"] {
margin-top: 3px;
width: 18px;
height: 18px;
cursor: pointer;
}
.scg-terms-wrapper label {
font-size: 14px;
color: #555;
cursor: pointer;
}
.scg-terms-wrapper a {
color: var(--scg-primary, #2d5016);
text-decoration: underline;
}
.scg-form {
display: none;
margin-top: 25px;
padding: 25px;
background: white;
border-radius: 12px;
border: 1px solid #e0e0e0;
}
.scg-form h3 {
margin: 0 0 20px 0;
color: var(--scg-primary, #2d5016);
}
.scg-input {
width: 100%;
padding: 14px 16px;
margin: 8px 0;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 16px;
box-sizing: border-box;
transition: border-color 0.3s;
}
.scg-input:focus {
border-color: var(--scg-primary, #2d5016);
outline: none;
}
.scg-success {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border: 2px solid #28a745;
color: #155724;
padding: 25px;
border-radius: 12px;
margin-top: 25px;
text-align: center;
font-size: 18px;
}
.scg-countdown {
text-align: center;
padding: 15px;
background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
border-radius: 10px;
margin-bottom: 20px;
font-weight: 500;
}
.scg-badge {
display: inline-block;
background: var(--scg-primary, #2d5016);
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
margin-bottom: 10px;
}
.scg-cancel-preference {
margin: 15px 0;
padding: 15px;
background: #f0f7ff;
border-radius: 8px;
border: 1px solid #b8daff;
}
.scg-cancel-preference p {
margin: 0 0 10px;
font-weight: 500;
color: #004085;
}
.scg-cancel-preference label {
display: block;
margin: 8px 0;
cursor: pointer;
}
.scg-cancel-preference input[type="radio"] {
margin-right: 8px;
} .scg-confirm-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: none;
align-items: center;
justify-content: center;
}
.scg-confirm-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
}
.scg-confirm-content {
position: relative;
background: white;
border-radius: 16px;
padding: 30px;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
animation: scgModalIn 0.3s ease;
}
@keyframes scgModalIn {
from {
opacity: 0;
transform: scale(0.9) translateY(-20px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.scg-confirm-close {
position: absolute;
top: 15px;
right: 15px;
width: 32px;
height: 32px;
border: none;
background: #f0f0f0;
border-radius: 50%;
font-size: 24px;
line-height: 1;
cursor: pointer;
color: #666;
transition: all 0.2s;
}
.scg-confirm-close:hover {
background: #e0e0e0;
color: #333;
}
.scg-confirm-content h3 {
margin: 0 0 25px 0;
color: var(--scg-primary, #2d5016);
font-size: 22px;
text-align: center;
}
.scg-confirm-summary {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
margin-bottom: 25px;
}
.scg-confirm-row {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid #e9ecef;
}
.scg-confirm-row:last-child {
border-bottom: none;
}
.scg-confirm-label {
color: #666;
font-weight: 500;
}
.scg-confirm-value {
color: #333;
font-weight: 600;
text-align: right;
max-width: 60%;
word-break: break-word;
}
.scg-confirm-total {
background: var(--scg-primary, #2d5016);
margin: 15px -20px -20px -20px;
padding: 15px 20px;
border-radius: 0 0 12px 12px;
}
.scg-confirm-total .scg-confirm-label,
.scg-confirm-total .scg-confirm-value {
color: white;
font-size: 18px;
}
.scg-confirm-actions {
display: flex;
gap: 15px;
}
.scg-confirm-actions .scg-btn {
flex: 1;
padding: 15px 20px;
font-size: 14px;
} @media (max-width: 600px) {
.scg-container {
padding: 10px;
}
.scg-card {
padding: 20px;
}
.scg-header {
flex-direction: column;
text-align: center;
}
.scg-image {
width: 100%;
max-width: 250px;
height: auto;
aspect-ratio: 1 / 1;
margin: 0 auto;
}
.scg-pricing {
flex-direction: column;
}
.scg-price-value {
font-size: 24px;
}
.scg-btn {
padding: 15px 20px;
font-size: 16px;
}
.scg-confirm-content {
padding: 20px;
}
.scg-confirm-actions {
flex-direction: column;
}
.scg-confirm-row {
flex-direction: column;
gap: 5px;
}
.scg-confirm-value {
max-width: 100%;
text-align: left;
}
}