/* Header */
.header {
    background: #FFE600;
    border-bottom: 4px solid #000000;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 4px 0px #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 1.5rem;
    color: #000000;
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FF6B6B;
}

.order-button-black {
    background: #000000;
    color: #FFE600;
    padding: 0.75rem 1.5rem;
    border: 3px solid #000000;
    border-radius: 0;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #FF6B6B;
    text-shadow: 1px 1px 0px #000000;
}

.order-button-black:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #FF6B6B;
}

/* Order Page Styles */
.order-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    margin-top: 80px;
    background: #F8F9FA;
}

.order-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.order-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: #000000;
    margin-bottom: 0.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #FF6B6B;
}

.order-header p {
    font-size: 1rem;
    color: #000000;
    margin: 0;
    font-weight: 700;
    background: #4ECDC4;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    display: inline-block;
}

/* Step Sections */
.step-section {
    background: #FF9FF3;
    border-radius: 0;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 8px 8px 0px #000000;
    border: 3px solid #000000;
}

.step-section:nth-child(even) {
    background: #4ECDC4;
}

.step-section h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #000000;
    border-radius: 0;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FFE600;
    box-shadow: 6px 6px 0px #000000;
}

.upload-area:hover {
    border-color: #FF6B6B;
    background: #FFD700;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #000000;
}

.upload-area.dragover {
    border-color: #FF6B6B;
    background: #FF6B6B;
    transform: scale(1.01);
    box-shadow: 9px 9px 0px #000000;
}

.upload-icon {
    color: #000000;
    margin-bottom: 1rem;
}

.upload-content p {
    margin: 0.5rem 0;
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
}

.upload-hint {
    font-size: 0.8rem !important;
    color: #666666 !important;
    font-weight: 600 !important;
}

/* Customization Grid */
.customization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.sticker-item {
    background: #FFE600;
    border-radius: 0;
    padding: 2rem;
    border: 4px solid #000000;
    transition: all 0.2s ease;
    box-shadow: 8px 8px 0px #000000;
}

.sticker-item:hover {
    border-color: #FF6B6B;
    box-shadow: 12px 12px 0px #000000;
    transform: translate(-4px, -4px);
}

.sticker-preview {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 0;
    overflow: hidden;
    background:
        linear-gradient(45deg,#cfcfcf 25%,transparent 25%),
        linear-gradient(-45deg,#cfcfcf 25%,transparent 25%),
        linear-gradient(45deg,transparent 75%,#cfcfcf 75%),
        linear-gradient(-45deg,transparent 75%,#cfcfcf 75%);
    background-size: 20px 20px;
    background-position: 0 0,0 10px,10px -10px,-10px 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
}

.sticker-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 0 4px white) drop-shadow(0 0 0 8px white) drop-shadow(6px 6px 0px #000000);
}



/* Size Selection */
.size-selection {
    margin-bottom: 3rem;
}

.size-selection h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #FFE600;
}

.size-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.size-option {
    cursor: pointer;
}

.size-option input[type="radio"] {
    display: none;
}

.size-card {
    border: 3px solid #000000;
    border-radius: 0;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    background: #FFE600;
    box-shadow: 6px 6px 0px #000000;
    cursor: pointer;
}

.size-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000000;
}

.size-card.selected {
    border-color: #FF6B6B;
    background: #FF6B6B;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #000000;
}

.size-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 0;
    background: #000000;
    position: relative;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #FFE600;
}

.size-preview.small {
    width: 45px;
    height: 45px;
}

.size-preview.large {
    width: 60px;
    height: 60px;
}

.size-card span {
    display: block;
    font-weight: 900;
    color: #000000;
    font-size: 1rem;
    text-transform: uppercase;
}

.size-card.selected span {
    color: #000000;
}

.size-card .price {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 900;
    margin-top: 0.5rem;
    text-shadow: 2px 2px 0px #FFE600;
}

.size-card.selected .price {
    color: #000000;
    text-shadow: 2px 2px 0px #FFE600;
}

/* Quantity Selection */
.quantity-selection {
    margin-bottom: 2rem;
}

.quantity-selection h4 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
}

.quantity-hint {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    color: #000000;
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #000000;
}

.qty-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}

#quantity {
    width: 80px;
    height: 40px;
    border: 3px solid #000000;
    border-radius: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background: #FFFFFF;
    box-shadow: 4px 4px 0px #000000;
}

#quantity:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 8px 8px 0px #000000;
    transform: translate(-2px, -2px);
}

.quantity-hint {
    font-size: 0.8rem;
    color: #666666;
    margin: 0;
    font-weight: 600;
}

/* Order Summary */
.order-summary {
    background: #FFE600;
    border-radius: 0;
    padding: 2rem;
    border: 4px solid #000000;
    box-shadow: 8px 8px 0px #000000;
}

.order-summary h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #FF6B6B;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 3px solid #000000;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    border-top: 4px solid #000000;
    margin-top: 1rem;
    padding-top: 1.5rem;
    text-shadow: 3px 3px 0px #FF6B6B;
}

/* Preview Container */
.preview-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    align-items: start;
}

.preview-sheets {
    background: white;
    border-radius: 0;
    padding: 2rem;
    border: 4px solid #000000;
    box-shadow: 8px 8px 0px #000000;
}

.a4-sheet {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1.414;
    background: white;
    border: 3px solid #000000;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 6px 6px 0px #000000;
    border-radius: 0;
}

.a4-sheet:last-child {
    margin-bottom: 0;
}

.sheet-label {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 1rem;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    background: #FFE600;
    padding: 0.5rem 1rem;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
}

/* Checkout Section */
.checkout-section {
    background: #FF9FF3;
    border-radius: 0;
    padding: 1.5rem;
    border: 3px solid #000000;
    position: sticky;
    top: 100px;
    box-shadow: 6px 6px 0px #000000;
}

.customer-info h4 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-weight: 700;
    background: white;
    box-shadow: 3px 3px 0px #000000;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 4px 4px 0px #000000;
    transform: translate(-1px, -1px);
}



.checkout-button {
    width: 100%;
    padding: 1rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px #000000;
    text-shadow: 2px 2px 0px #FFE600;
}

.checkout-button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #000000;
}

.checkout-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Payment Form Styles - Clean and Simple */
.payment-info {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    box-shadow: 6px 6px 0px #000000;
}

.payment-info h4 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
}

/* Clean Stripe Card Element - Based on working test page */
.stripe-card-element {
    padding: 15px;
    border: 2px solid #000000;
    border-radius: 0;
    background: white;
    box-shadow: 3px 3px 0px #000000;
    min-height: 50px;
    margin-bottom: 20px;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-weight: 700;
    color: #000000 !important;
}

.stripe-card-element * {
    color: #000000 !important;
    background: transparent !important;
}

.stripe-card-element iframe {
    background: white !important;
    color: #000000 !important;
}

.card-element.StripeElement--focus {
    border-color: #FF6B6B;
    box-shadow: 4px 4px 0px #000000;
    transform: translate(-1px, -1px);
}

.card-element.StripeElement--invalid {
    border-color: #FF0000;
    box-shadow: 4px 4px 0px #FF0000;
}

.card-errors {
    color: #FF0000;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 2px solid #FF0000;
    border-radius: 0;
    background: #FFE6E6;
    box-shadow: 3px 3px 0px #FF0000;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #FFFFFF;
}

.test-button {
    width: 100%;
    padding: 1rem 2rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    color: #000000;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px #000000;
    text-shadow: 1px 1px 0px #FFE600;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.test-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000000;
    background: #FF4444;
}

/* Navigation */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    color: #000000;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #000000;
    text-shadow: 2px 2px 0px #FFE600;
}

.nav-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #FFE600;
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 12px 12px 0px #000000;
    border: 4px solid #000000;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #000000;
    border-top: 4px solid #FF6B6B;
    border-radius: 0;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    box-shadow: 4px 4px 0px #000000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 230, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border: 3px solid #000000;
    box-shadow: 8px 8px 0px #000000;
}

.loader #loader-message {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FF6B6B;
    margin-top: 0.75rem;
}

/* Sticker Grid */
.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sticker-item {
    border: 3px solid #000000;
    border-radius: 0;
    padding: 1.5rem;
    background: #FFE600;
    box-shadow: 6px 6px 0px #000000;
    text-align: center;
}

.sticker-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 0;
    background:
        linear-gradient(45deg,#cfcfcf 25%,transparent 25%),
        linear-gradient(-45deg,#cfcfcf 25%,transparent 25%),
        linear-gradient(45deg,transparent 75%,#cfcfcf 75%),
        linear-gradient(-45deg,transparent 75%,#cfcfcf 75%);
    background-size: 20px 20px;
    background-position: 0 0,0 10px,10px -10px,-10px 0;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #FF6B6B;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticker-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}





.remove-sticker-btn {
    width: 100%;
    padding: 0.5rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #000000;
    text-shadow: 1px 1px 0px #FFE600;
    margin-top: 0.5rem;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.remove-sticker-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
    background: #FF4444;
}

/* Sticker Quantity Controls */
.sticker-quantity-controls {
    margin: 1rem 0;
    text-align: center;
}

.sticker-quantity-controls label {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 0px #FFE600;
}

.sticker-quantity-controls .quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sticker-quantity-controls .qty-btn {
    width: 2rem;
    height: 2rem;
    border: 2px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    color: #000000;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px #000000;
    text-shadow: 1px 1px 0px #FFE600;
}

.sticker-quantity-controls .qty-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000;
}

.sticker-quantity-controls .qty-btn:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0px #000000;
}

.sticker-quantity-controls .sticker-quantity {
    width: 4rem;
    height: 2rem;
    border: 2px solid #000000;
    border-radius: 0;
    background: #FFFFFF;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 3px 3px 0px #000000;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.sticker-quantity-controls .sticker-quantity:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 4px 4px 0px #000000;
}

.sticker-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



.quantity-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-controls label {
    font-size: 0.9rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #FFE600;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-buttons .qty-btn {
    width: 2rem;
    height: 2rem;
    border: 2px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    color: #000000;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px #000000;
    text-shadow: 1px 1px 0px #FFE600;
}

.quantity-buttons .qty-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000;
}

.quantity-buttons .qty-btn:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0px #000000;
}

.sticker-quantity {
    width: 4rem;
    height: 2rem;
    border: 2px solid #000000;
    border-radius: 0;
    background: #FFFFFF;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 3px 3px 0px #000000;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.sticker-quantity:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 4px 4px 0px #000000;
}

.remove-btn {
    padding: 0.75rem 1.5rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000000;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}

/* Add More Section */
.add-more-section {
    margin-top: 2rem;
    text-align: center;
}

/* Order Summary on Step 2 */
#step-2 .order-summary {
    margin-top: 2rem;
    padding: 2rem;
    border: 4px solid #000000;
    border-radius: 0;
    background: #FFE600;
    box-shadow: 8px 8px 0px #000000;
}

#step-2 .order-summary h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #FFE600;
    text-align: center;
}

/* Checkout Order Summary */
.checkout-order-summary {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 4px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    box-shadow: 8px 8px 0px #000000;
}

.checkout-order-summary h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
    text-align: center;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 2px solid #000000;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.checkout-summary-item:last-child {
    border-bottom: none;
}

.checkout-summary-item.total {
    font-size: 1.2rem;
    font-weight: 900;
    text-shadow: 1px 1px 0px #FFE600;
    border-top: 3px solid #000000;
    border-bottom: 3px solid #000000;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.add-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #4ECDC4;
    color: #000000;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px #000000;
    text-shadow: 1px 1px 0px #FFE600;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    margin-bottom: 1rem;
}

.add-more-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000000;
    background: #3DB8B0;
}

.add-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.add-icon {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.add-text {
    font-size: 1rem;
}

.add-more-hint {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}



/* A4 Preview */
.a4-preview-section {
    margin-bottom: 2rem;
}

.a4-preview-section h4 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFE600;
}

.a4-preview {
    padding: 2rem;
    border: 4px solid #000000;
    border-radius: 0;
    background: #FFE600;
    box-shadow: 8px 8px 0px #000000;
}

.a4-sheet {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1.414;
    background: white;
    border: 2px solid #000000;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    border-radius: 0;
}

.a4-sheet:last-child {
    margin-bottom: 0;
}

.sheet-label {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 0.9rem;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    background: #FFE600;
    padding: 0.4rem 0.8rem;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    aspect-ratio: 1.414; /* A4 ratio */
}

.sticker-placeholder {
    background: #F0F0F0;
    border: 1px solid #CCCCCC;
    border-radius: 0;
}

.more-sheets {
    text-align: center;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    padding: 1rem;
    border: 3px solid #000000;
    border-radius: 0;
    background: #FF6B6B;
    box-shadow: 4px 4px 0px #000000;
}



.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #000000;
    border-top: 4px solid #FF6B6B;
    border-radius: 0;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    box-shadow: 4px 4px 0px #000000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .order-container {
        padding: 1rem;
        margin-top: 70px;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .header h1 {
        font-size: 1.25rem;
    }

    .order-button-black {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .step-section {
        padding: 1.5rem;
        border: 3px solid #000000;
        box-shadow: 6px 6px 0px #000000;
    }

    .customization-grid {
        grid-template-columns: 1fr;
    }

    .size-options {
        grid-template-columns: 1fr;
    }

    .preview-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .checkout-section {
        position: static;
        border: 3px solid #000000;
        box-shadow: 6px 6px 0px #000000;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-btn {
        width: 100%;
        border: 3px solid #000000;
        box-shadow: 6px 6px 0px #000000;
    }

    .upload-area {
        padding: 2rem 1.5rem;
        border: 3px dashed #000000;
        box-shadow: 6px 6px 0px #000000;
    }

    .sticker-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .order-container {
        padding: 0.75rem;
        margin-top: 60px;
    }

    .header {
        padding: 0.5rem 0.75rem;
    }

    .header h1 {
        font-size: 1.1rem;
    }

    .order-button-black {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .step-section {
        padding: 1rem;
        border: 2px solid #000000;
        box-shadow: 4px 4px 0px #000000;
    }

    .sticker-item {
        padding: 1rem;
        border: 2px solid #000000;
        box-shadow: 4px 4px 0px #000000;
    }

    .size-card {
        padding: 1rem;
        border: 2px solid #000000;
        box-shadow: 4px 4px 0px #000000;
    }

    .upload-area {
        padding: 1.5rem 1rem;
        border: 2px dashed #000000;
        box-shadow: 4px 4px 0px #000000;
    }

    .order-header h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .add-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        box-shadow: 4px 4px 0px #000000;
    }

    .add-more-btn:hover {
        box-shadow: 6px 6px 0px #000000;
    }

    .add-icon {
        font-size: 1.25rem;
    }

    .add-text {
        font-size: 0.9rem;
    }

    .add-more-hint {
        font-size: 0.8rem;
    }

    .sticker-quantity-controls .qty-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
        box-shadow: 2px 2px 0px #000000;
    }

    .sticker-quantity-controls .sticker-quantity {
        width: 3.5rem;
        height: 1.75rem;
        font-size: 0.8rem;
        box-shadow: 2px 2px 0px #000000;
    }

    .sticker-quantity-controls label {
        font-size: 0.8rem;
    }
}

/* Success message animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
} 