/* Checkout Container */
.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ecf0f1;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.progress-step.active .step-label {
    color: #2ecc71;
    font-weight: bold;
}

.progress-step.completed .step-number {
    background-color: #2ecc71;
    color: white;
}

.progress-step.completed .step-label {
    color: #2ecc71;
}

.progress-line {
    height: 2px;
    background-color: #ecf0f1;
    flex: 1;
    margin: 0 1rem;
    transition: background-color 0.3s ease;
}

.progress-line.active {
    background-color: #2ecc71;
}

/* Checkout Wrapper */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.checkout-main {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Checkout Step */
.checkout-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.checkout-step.active {
    display: block;
}

.checkout-step h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 1rem;
}

/* Cart Review */
.cart-review {
    margin-bottom: 2rem;
}

.cart-review-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.cart-review-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.cart-review-item-info {
    display: flex;
    flex-direction: column;
}

.cart-review-item-name {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.cart-review-item-price {
    color: #2ecc71;
    font-weight: 600;
}

.cart-review-item-qty {
    text-align: center;
    color: #555;
}

.cart-review-item-total {
    text-align: right;
    font-weight: bold;
    color: #2c3e50;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #2ecc71;
    background-color: #f9fffe;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 50%;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #2ecc71;
    background-color: #2ecc71;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

.delivery-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.delivery-fee {
    color: #2ecc71;
    font-weight: bold;
    margin-left: 1rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    margin-bottom: 1rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.6rem;
    cursor: pointer;
    accent-color: #2ecc71;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.checkout-btn-primary,
.checkout-btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn-primary {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    flex: 1;
}

.checkout-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.checkout-btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    flex: 1;
}

.checkout-btn-secondary:hover {
    background-color: #e0e6e9;
}

/* Confirmation */
.confirmation-content {
    text-align: center;
    padding: 2rem;
}

.confirmation-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
    display: inline-block;
    background-color: #e8f8f5;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.confirmation-message {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.order-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.order-detail-item:last-child {
    border-bottom: none;
}

.order-detail-item span {
    color: #7f8c8d;
}

.order-detail-item strong {
    color: #2c3e50;
    font-weight: bold;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.confirmation-actions .checkout-btn-primary,
.confirmation-actions .checkout-btn-secondary {
    min-width: 200px;
}

.confirmation-email {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Sidebar */
.checkout-sidebar {
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.order-summary h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 0.8rem;
}

.summary-items {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.9rem;
}

.summary-item-name {
    color: #555;
}

.summary-item-price {
    color: #2c3e50;
    font-weight: bold;
}

.summary-section {
    border-top: 2px solid #ecf0f1;
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    border-top: 1px solid #ecf0f1;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.summary-divider {
    height: 1px;
    background-color: #ecf0f1;
    margin: 1rem 0;
}

/* Promo Section */
.promo-section {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.promo-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 0.9rem;
}

.promo-input:focus {
    outline: none;
    border-color: #2ecc71;
}

.promo-btn {
    padding: 0.8rem 1.5rem;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.promo-btn:hover {
    background-color: #27ae60;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem;
    }

    .progress-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .progress-line {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .checkout-main {
        padding: 1.5rem;
    }

    .checkout-step h2 {
        font-size: 1.5rem;
    }

    .cart-review-item {
        grid-template-columns: 60px 1fr;
        gap: 0.8rem;
    }

    .cart-review-item-image {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .cart-review-item-qty,
    .cart-review-item-total {
        grid-column: 2;
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .checkout-btn-primary,
    .confirmation-actions .checkout-btn-secondary {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .progress-bar {
        padding: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .checkout-main {
        padding: 1rem;
    }

    .checkout-step h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .confirmation-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .confirmation-content h2 {
        font-size: 1.5rem;
    }

    .order-summary {
        padding: 1rem;
    }

    .order-summary h3 {
        font-size: 1rem;
    }
}
/* Additional styles for zipcode validation and delivery info */

/* Delivery Info Box */
.delivery-info-box {
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
    border-left: 4px solid #2ecc71;
    padding: 1.2rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.delivery-info-box p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.delivery-info-box p:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* Zipcode Feedback Styling */
#zipcodeFeedback {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

#zipcodeFeedback.valid-zipcode {
    background-color: #e8f8f5;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

#zipcodeFeedback.invalid-zipcode {
    background-color: #fde8e8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Select dropdown styling */
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced zipcode input */
#zipcode {
    font-weight: 600;
    letter-spacing: 0.5px;
}

#zipcode:valid {
    border-color: #2ecc71;
}

#zipcode:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Contact info styling in confirmation */
.contact-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.contact-info strong {
    color: #2ecc71;
}

/* Readonly input styling */
input[readonly] {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .delivery-info-box {
        padding: 1rem;
    }
    
    .delivery-info-box p {
        font-size: 0.9rem;
    }
    
    select {
        font-size: 0.9rem;
    }
}
/* Additional styles for zipcode validation and delivery info */

/* Logged In Notice */
.logged-in-notice {
    background: linear-gradient(135deg, #d5f4e6 0%, #c8f0dd 100%);
    border-left: 4px solid #2ecc71;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.logged-in-notice p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.logged-in-notice strong {
    color: #27ae60;
    font-weight: 600;
}

/* User Info Notice */
.user-info-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #d1e9f6 100%);
    border-left: 4px solid #3498db;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-info-notice p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Delivery Info Box */
.delivery-info-box {
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
    border-left: 4px solid #2ecc71;
    padding: 1.2rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.delivery-info-box p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.delivery-info-box p:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* Zipcode Feedback Styling */
#zipcodeFeedback {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

#zipcodeFeedback.valid-zipcode {
    background-color: #e8f8f5;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

#zipcodeFeedback.invalid-zipcode {
    background-color: #fde8e8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Select dropdown styling */
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced zipcode input */
#zipcode {
    font-weight: 600;
    letter-spacing: 0.5px;
}

#zipcode:valid {
    border-color: #2ecc71;
}

#zipcode:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Contact info styling in confirmation */
.contact-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.contact-info strong {
    color: #2ecc71;
}

/* Readonly input styling */
input[readonly] {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .delivery-info-box {
        padding: 1rem;
    }
    
    .delivery-info-box p {
        font-size: 0.9rem;
    }
    
    select {
        font-size: 0.9rem;
    }
}
/* Additional styles for zipcode validation and delivery info */

/* Logged In Notice */
.logged-in-notice {
    background: linear-gradient(135deg, #d5f4e6 0%, #c8f0dd 100%);
    border-left: 4px solid #2ecc71;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.logged-in-notice p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.logged-in-notice strong {
    color: #27ae60;
    font-weight: 600;
}

/* User Info Notice */
.user-info-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #d1e9f6 100%);
    border-left: 4px solid #3498db;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-info-notice p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Delivery Info Box */
.delivery-info-box {
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
    border-left: 4px solid #2ecc71;
    padding: 1.2rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.delivery-info-box p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.delivery-info-box p:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* Zipcode Feedback Styling */
#zipcodeFeedback {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

#zipcodeFeedback.valid-zipcode {
    background-color: #e8f8f5;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

#zipcodeFeedback.invalid-zipcode {
    background-color: #fde8e8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Select dropdown styling */
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced zipcode input */
#zipcode {
    font-weight: 600;
    letter-spacing: 0.5px;
}

#zipcode:valid {
    border-color: #2ecc71;
}

#zipcode:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Contact info styling in confirmation */
.contact-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.contact-info strong {
    color: #2ecc71;
}

/* Readonly input styling */
input[readonly] {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    color: #555;
}

/* Stripe Payment Element Styles */
.stripe-element-container {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #ecf0f1;
    margin-bottom: 1rem;
}

.stripe-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #fde8e8;
    border-radius: 4px;
    display: none;
}

.stripe-error.show {
    display: block;
}

/* Payment Secure Notice */
.payment-secure-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #d5f4e6 100%);
    border-left: 4px solid #27ae60;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.secure-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.payment-secure-notice strong {
    color: #27ae60;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.payment-secure-notice p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Payment Summary Box */
.payment-summary-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-radius: 6px;
    padding: 1.5rem;
    border: 2px solid #e0e6e9;
}

.payment-summary-box h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.payment-summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    border-top: 2px solid #bdc3c7;
}

.payment-summary-divider {
    height: 1px;
    background-color: #d5d8db;
    margin: 0.8rem 0;
}

/* Payment Terms */
.payment-terms {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.payment-terms .checkbox-label {
    font-size: 0.9rem;
    margin: 0;
}

/* Pay Button Spinner */
#stripePayButton {
    position: relative;
}

.button-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stripe Loading State */
.stripe-loading {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.stripe-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ecf0f1;
    border-top-color: #2ecc71;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-secure-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .secure-icon {
        font-size: 2.5rem;
    }
    
    .stripe-element-container {
        padding: 1rem;
    }
    
    .payment-summary-box {
        padding: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .delivery-info-box {
        padding: 1rem;
    }
    
    .delivery-info-box p {
        font-size: 0.9rem;
    }
    
    select {
        font-size: 0.9rem;
    }
}