/* Checkout Page Styles */
.checkout-main {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: #064034;
    overflow: auto;
}

.checkout-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: calc(100% - 400px) 400px;
    align-items: stretch;
    min-height: 100vh;
}

/* Left Column */
.checkout-left {
    padding: 30px 150px;
    background: #064034;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
    overflow: auto;
}

.checkout-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}

.checkout-step.active {
    display: flex;
}

/* Step 3 Specific Styles - COMPLETELY WHITE BACKGROUND */
.checkout-step-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    justify-content: flex-start;
    padding: 20px 150px 30px;
    z-index: 20;
    overflow: auto;
}

.logo-top-left {
    position: absolute;
    top: 20px;
    left: 150px;
    z-index: 30;
}

.logo-top-left img {
    height: 40px;
    width: auto;
}

.checkout-title-step3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #000000;
    text-align: center;
    line-height: 40px;
    margin-top: 80px;
    margin-bottom: 30px;
}

.checkout-title {
    font-family: 'Lexend', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    line-height: 40px;
    margin-bottom: 40px;
}

/* Delivery Form Container - Optimized Layout */
.delivery-form-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    flex: 1;
}

.delivery-form {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-right: 10px;
    overflow-y: auto;
    max-height: none;
}

.delivery-form::-webkit-scrollbar {
    width: 6px;
}

.delivery-form::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 3px;
}

.delivery-form::-webkit-scrollbar-thumb {
    background: #8EB205;
    border-radius: 3px;
}

.form-section {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px 25px;
    border: 1px solid #e0e0e0;
}

.section-title {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #064034;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #8EB205;
}

.products-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-card {
    width: 380px;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    backdrop-filter: blur(2.5px);
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.product-card.selected {
    border-color: #8EB205;
    background: rgba(142, 178, 5, 0.1);
}

.product-card h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 24px;
    margin: 0 0 12px 0;
    text-align: center;
    flex-shrink: 0;
}

.product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.90;
    margin: 0 0 12px 0;
    line-height: 1.6rem;
    text-align: center;
    width: 280px;
    flex-shrink: 0;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #8EB205;
    text-align: center;
    margin: 0;
    flex-shrink: 0;
}

/* Blood Collection Icons */
.blood-collection-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin: 12px 0;
    flex-grow: 1;
}

.collection-image {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Delivery Form Styles - Optimized */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #064034;
    margin-bottom: 6px;
    display: block;
}

.required {
    color: #e74c3c;
    font-size: 14px;
    margin-left: 2px;
}

.form-input {
    width: 100%;
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:focus {
    border-color: #8EB205;
    box-shadow: 0 0 0 3px rgba(142, 178, 5, 0.1);
}

.region-display {
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
}

.phone-group {
    position: relative;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: #8EB205;
    box-shadow: 0 0 0 3px rgba(142, 178, 5, 0.1);
}

.phone-prefix {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #064034;
    padding: 10px 14px;
    background: #f8f8f8;
    border-right: 2px solid #e0e0e0;
    min-width: 60px;
}

.phone-input {
    border: none;
    flex: 1;
    padding: 10px 14px;
    background: transparent;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px;
    background: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    margin-top: 2px;
    accent-color: #8EB205;
    flex-shrink: 0;
}

.checkbox-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    line-height: 1.3;
    flex: 1;
}

/* Phone prefix select styles */
.phone-prefix-select {
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    min-width: 120px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

.phone-prefix-select:focus {
    border-color: #8EB205;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: #8EB205;
    box-shadow: 0 0 0 3px rgba(142, 178, 5, 0.1);
}

.phone-input-container .phone-input {
    border: 2px solid #e0e0e0;
    border-left: none;
    border-radius: 0 6px 6px 0;
    flex: 1;
}

.phone-input-container:focus-within .phone-input,
.phone-input-container:focus-within .phone-prefix-select {
    border-color: #8EB205;
}

/* Country select styles */
.form-input[type="text"],
.form-input[type="email"],
.form-input[type="tel"],
.form-input select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #8EB205;
    box-shadow: 0 0 0 3px rgba(142, 178, 5, 0.1);
}

.form-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 35px;
    cursor: pointer;
}

.form-input::placeholder {
    color: #999999;
}

/* Buttons */
.checkout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
}

.checkout-buttons-step3 {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 25px;
    padding: 20px 0 15px 0;
    border-top: 2px solid #e0e0e0;
    background: #FFFFFF;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.btn-back, .btn-next {
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-step3 {
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #8EB205;
    color: #8EB205;
    flex: 1;
    max-width: 180px;
}

.btn-back-step3:hover {
    background: #8EB205;
    color: #FFFFFF;
}

.btn-next-step3 {
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #8EB205;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(142, 178, 5, 0.3);
    flex: 1;
    max-width: 180px;
}

.btn-next-step3:hover:not(:disabled) {
    background: #7a9e04;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(142, 178, 5, 0.4);
}

.btn-back {
    background: transparent;
    border: 2px solid #8EB205;
    color: #8EB205;
}

.btn-back:hover {
    background: #8EB205;
    color: #FFFFFF;
}

.btn-next {
    background: #8EB205;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(142, 178, 5, 0.3);
}

.btn-next:hover:not(:disabled) {
    background: #7a9e04;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(142, 178, 5, 0.4);
}

.btn-next:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Logo in bottom left (for Steps 1 & 2 only) */
.logo-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 3%;
    padding: 20px 0;
    z-index: 10;
}

.logo-bottom-left img {
    height: 35px;
    width: auto;
}

/* Hide bottom logo when Step 3 is active */
.checkout-step-3.active ~ .logo-bottom-left {
    display: none;
}

/* Right Column - FIXED HEIGHT ISSUE */
.checkout-right {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    z-index: 25;
}

.order-summary {
    background: #FFFFFF;
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 100vh;
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    background: #f8f8f8;
    padding: 25px 15px 12px 15px;
    flex-shrink: 0;
}

.order-details {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.order-details h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #064034;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.selected-info {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

.selected-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.product-selected {
    text-align: center;
    width: 100%;
}

.product-selected h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #064034;
    margin-bottom: 8px;
}

.product-selected p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-selected .price {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #8EB205;
    margin-top: 12px;
}

/* Selected Method Styles */
.selected-method {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: none;
    flex-shrink: 0;
}

.method-selected {
    text-align: center;
    width: 100%;
}

.method-selected h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #064034;
    margin-bottom: 6px;
}

.method-selected p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.method-selected .price {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #8EB205;
}

/* Total Price Styles */
.total-price {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #8EB205;
    display: none;
    flex-shrink: 0;
}

.total-selected {
    text-align: center;
    width: 100%;
}

.total-selected h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #064034;
    margin-bottom: 8px;
}

.total-selected .price {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #8EB205;
}

.delivery-notice {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #064034;
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
    line-height: 11px;
    flex-shrink: 0;
}

.stripe-notice {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.stripe-notice p {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #064034;
    margin-bottom: 12px;
}

.terms-notice {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #064034;
    line-height: 1.3;
    text-align: center;
}

.terms-notice a {
    color: #064034;
    text-decoration: underline;
}

/* =========================
   RESPONSIVE MEDIA QUERIES ONLY
   Keeping exact same design, just responsive layout
========================= */

/* Large Desktop Adjustments (1201px - 1299px) */
@media (max-width: 1299px) {
    .checkout-left {
        padding: 30px 120px;
    }
    
    .checkout-step-3 {
        padding: 20px 120px 30px;
    }
    
    .logo-top-left {
        left: 120px;
    }
    
    .logo-bottom-left {
        left: 120px;
    }
    
    .products-grid {
        gap: 50px;
    }
    
    .product-card {
        width: 360px;
    }
    
    .product-desc {
        width: 260px;
    }
}

/* Desktop to Tablet Transition (1025px - 1200px) */
@media (max-width: 1200px) {
    .checkout-container {
        grid-template-columns: 1fr 350px;
    }
    
    .checkout-left {
        padding: 30px 80px;
    }
    
    .checkout-step-3 {
        padding: 20px 80px 30px;
    }
    
    .logo-top-left {
        left: 80px;
    }
    
    .logo-bottom-left {
        left: 80px;
    }
    
    .products-grid {
        gap: 40px;
    }
    
    .product-card {
        width: 340px;
        min-height: 140px;
    }
    
    .product-desc {
        width: 240px;
        font-size: 17px;
    }
    
    .delivery-form-container {
        max-width: 1000px;
    }
    
    .form-row {
        gap: 18px;
    }
}

/* Tablet Landscape (993px - 1024px) */
@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkout-right {
        position: static;
        height: auto;
        max-width: 100%;
        order: -1;
    }
    
    .order-summary {
        min-height: auto;
        border-radius: 0 0 20px 20px;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }
    
    .product-image {
        width: 120px;
        height: 120px;
        padding: 15px;
        flex-shrink: 0;
    }
    
    .order-details {
        padding: 0 20px;
        text-align: left;
        flex: 1;
    }
    
    .order-details h3 {
        margin-bottom: 15px;
        text-align: left;
    }
    
    .selected-info,
    .selected-method,
    .total-price {
        text-align: left;
    }
    
    .checkout-left {
        padding: 40px 60px;
        min-height: auto;
    }
    
    .checkout-step-3 {
        padding: 20px 60px 30px;
        position: relative;
        height: auto;
        min-height: 100vh;
    }
    
    .products-grid {
        flex-direction: column;
        gap: 25px;
    }
    
    .product-card {
        width: 100%;
        max-width: 450px;
        min-height: auto;
    }
    
    .logo-bottom-left {
        position: static;
        text-align: center;
        margin-top: 25px;
        margin-bottom: 15px;
        padding: 0;
    }
    
    .logo-top-left {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .checkout-title-step3 {
        margin-top: 40px;
    }
}

/* Tablet Portrait (769px - 992px) */
@media (max-width: 992px) {
    .checkout-left {
        padding: 35px 40px;
    }
    
    .checkout-step-3 {
        padding: 20px 40px 30px;
    }
    
    .checkout-title {
        font-size: 30px;
        margin-bottom: 35px;
    }
    
    .checkout-title-step3 {
        font-size: 19px;
        margin-top: 35px;
        margin-bottom: 25px;
    }
    
    .products-grid {
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .product-card {
        padding: 20px 25px;
    }
    
    .product-card h3 {
        font-size: 19px;
    }
    
    .product-desc {
        font-size: 17px;
    }
    
    .product-price {
        font-size: 30px;
    }
    
    .order-summary {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .order-details {
        text-align: center;
        padding: 0;
    }
    
    .order-details h3 {
        text-align: center;
    }
    
    .form-row {
        gap: 15px;
    }
}

/* Mobile Landscape (601px - 768px) */
@media (max-width: 768px) {
    .checkout-left {
        padding: 30px 25px;
    }
    
    .checkout-step-3 {
        padding: 15px 25px 25px;
    }
    
    .checkout-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .checkout-title-step3 {
        font-size: 18px;
        margin-top: 30px;
        margin-bottom: 25px;
    }
    
    .products-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-card h3 {
        font-size: 18px;
    }
    
    .product-desc {
        font-size: 16px;
        width: 220px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .blood-collection-icon {
        height: 70px;
    }
    
    .collection-image {
        max-height: 70px;
    }
    
    .delivery-form-container {
        max-width: 100%;
    }
    
    .form-section {
        padding: 18px 20px;
    }
    
    .section-title {
        font-size: 17px;
    }
    
    .form-input,
    .phone-prefix-select {
        padding: 9px 12px;
        font-size: 14px;
    }
    
    .phone-prefix-select {
        min-width: 110px;
    }
    
    .btn-back, .btn-next,
    .btn-back-step3, .btn-next-step3 {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Mobile Portrait (481px - 600px) */
@media (max-width: 600px) {
    .checkout-left {
        padding: 25px 20px;
    }
    
    .checkout-step-3 {
        padding: 15px 20px 20px;
    }
    
    .checkout-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .checkout-title-step3 {
        font-size: 17px;
        margin-top: 25px;
        margin-bottom: 20px;
    }
    
    .products-grid {
        gap: 18px;
        margin-bottom: 25px;
    }
    
    .product-card {
        padding: 18px 15px;
    }
    
    .product-card h3 {
        font-size: 17px;
    }
    
    .product-desc {
        font-size: 15px;
        width: 200px;
        line-height: 1.4rem;
    }
    
    .product-price {
        font-size: 26px;
    }
    
    .blood-collection-icon {
        height: 60px;
        margin: 10px 0;
    }
    
    .collection-image {
        max-height: 60px;
    }
    
    .form-section {
        padding: 15px 18px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-input,
    .phone-prefix-select {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .phone-prefix-select {
        min-width: 100px;
    }
    
    .checkbox-label {
        font-size: 12px;
    }
    
    .btn-back, .btn-next,
    .btn-back-step3, .btn-next-step3 {
        padding: 11px 25px;
        font-size: 14px;
        max-width: 160px;
    }
    
    .logo-top-left img {
        height: 35px;
    }
    
    .logo-bottom-left img {
        height: 30px;
    }
}

/* Small Mobile Devices (375px - 480px) */
@media (max-width: 480px) {
    .checkout-left {
        padding: 20px 15px;
    }
    
    .checkout-step-3 {
        padding: 15px 15px 20px;
    }
    
    .checkout-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .checkout-title-step3 {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .products-grid {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .product-card {
        padding: 15px 12px;
    }
    
    .product-card h3 {
        font-size: 16px;
    }
    
    .product-desc {
        font-size: 14px;
        width: 180px;
        line-height: 1.3rem;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .blood-collection-icon {
        height: 55px;
    }
    
    .collection-image {
        max-height: 55px;
    }
    
    .form-section {
        padding: 12px 15px;
    }
    
    .section-title {
        font-size: 15px;
    }
    
    .form-input,
    .phone-prefix-select {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .phone-prefix-select {
        min-width: 90px;
        font-size: 12px;
    }
    
    .btn-back, .btn-next,
    .btn-back-step3, .btn-next-step3 {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 140px;
    }
    
    .logo-top-left img {
        height: 30px;
    }
    
    .logo-bottom-left img {
        height: 25px;
    }
}

/* Extra Small Mobile Devices (below 374px) */
@media (max-width: 374px) {
    .checkout-left {
        padding: 15px 12px;
    }
    
    .checkout-step-3 {
        padding: 12px 12px 18px;
    }
    
    .checkout-title {
        font-size: 22px;
    }
    
    .checkout-title-step3 {
        font-size: 15px;
    }
    
    .product-card {
        padding: 12px 10px;
    }
    
    .product-card h3 {
        font-size: 15px;
    }
    
    .product-desc {
        font-size: 13px;
        width: 160px;
    }
    
    .product-price {
        font-size: 22px;
    }
    
    .form-input,
    .phone-prefix-select {
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .phone-prefix-select {
        min-width: 85px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .checkout-left {
        padding: 20px 25px;
    }
    
    .checkout-step-3 {
        padding: 15px 25px 20px;
    }
    
    .products-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-card {
        width: calc(50% - 10px);
        min-width: 250px;
    }
    
    .order-summary {
        flex-direction: row;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-top-left img,
    .logo-bottom-left img,
    .product-image,
    .collection-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .btn-back,
    .btn-next,
    .btn-back-step3,
    .btn-next-step3,
    .form-input {
        transition: none;
    }
    
    .product-card:hover,
    .btn-next:hover:not(:disabled),
    .btn-back:hover,
    .btn-next-step3:hover:not(:disabled),
    .btn-back-step3:hover {
        transform: none;
    }
}