.page_body_wrapper {
    position: relative;
    margin-top: 120px;
    text-align: center;
    padding-top: 2px;
    margin-bottom: 20px;
    padding-bottom: 40px;
}

.store_header {

}

.store_header h1{
    font-size: 48px;
}

.store_header h2 {
    font-size: 40px;
}

.category_item {
    width: 90%;
    height: 250px;
    border: solid;
    border-color: darkgray;
    display: flex;
    align-items: center;
    border-radius: 40px;
    margin: auto;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.category_item:hover {
    background-color: lightgray;
}

.category_item img {
    border-radius: 30px;
    height: 90%;
    width: auto;
    transform: translateX(12px);
    border: 1px solid gray;

}

.category_item .category_item_text {
    padding-left: 10%;
    padding-right: 10%;
    align-items: center;
    text-decoration: none;
    color: black;
}

    .category_item .category_item_text h1 p {
        text-decoration: none;
    }


.order_item {
    width: 90%;
    height: 250px;
    border: solid;
    border-color: darkgray;
    display: flex;
    align-items: center;
    border-radius: 40px;
    margin: auto;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.order_item:hover {
    background-color: lightgray;
}

.order_item img {
    height: 90%;
    width: auto;
    transform: translateX(12px);

}

.order_item .order_item_text {
    padding-left: 10%;
    padding-right: 10%;
    align-items: center;
    text-decoration: none;
    color: black;
}

    .order_item .order_item_text h1 p {
        text-decoration: none;
    }

.checkout_wrapper {
    margin-top: 120px;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.checkout_card {
    width: 100%;
    max-width: 700px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: left;
}

.checkout_card h1 {
    margin-bottom: 10px;
}

.checkout_subtext {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.form_group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form_group label {
    margin-bottom: 6px;
    font-weight: 600;
}

.form_group input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: 0.2s ease;
}

.form_group input:focus {
    border-color: #000;
    outline: none;
}

.form_row {
    display: flex;
    gap: 15px;
}

.form_row .form_group {
    flex: 1;
}

.primary_button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: black;
    color: white;
    transition: 0.2s ease;
}

.primary_button:hover {
    opacity: 0.85;
}

.shipping_results {
    margin-top: 30px;
}

.rate_option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.rate_option:hover {
    background: #f8f8f8;
}

.rate_details span {
    display: block;
    font-weight: bold;
}

.rate_details small {
    display: block;
    color: #666;
}

.error_text {
    color: red;
    font-weight: 600;
}


@media screen and (max-width: 768px) {
    .category_item {
        flex-direction: column; /* Stack image and text */
        height: auto; /* Let it grow */
        padding: 10px;
    }

        .category_item img {
            width: 90%;
            height: auto;
            transform: none; /* Cancel horizontal offset */
            margin-bottom: 10px;
        }

        .category_item .category_item_text {
            padding: 0 5%;
            text-align: center;
        }
      .order_item {
        flex-direction: column; /* Stack image and text */
        height: auto; /* Let it grow */
        padding: 10px;
    }

        .order_item img {
            width: 90%;
            height: auto;
            transform: none; /* Cancel horizontal offset */
            margin-bottom: 10px;
        }

        .order_item .order_item_text {
            padding: 0 5%;
            text-align: center;
        }
  
      	.form_row {
        	flex-direction: column;
        	gap: 20px;
    	}
}
