* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f7f4;
}

.blog-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: block;
    margin-bottom: 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.blog-header {
    margin-bottom: 20px;
}

.wrapper {
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    text-align: left;
}

.bra-size {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.wrapper p {
    font-size: 16px;
    margin: 10px 0;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #5a7d5a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #456a45;
}

#output {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

/* Additional blog styling remains unchanged */
.blog-content {
    padding: 20px;
}

.blog-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category {
    font-size: 12px;
    font-weight: bold;
    color: #5a7d5a;
    text-transform: uppercase;
}

.blog-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.date {
    font-size: 14px;
    color: #9b9b9b;
}

.blog-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.blog-interaction {
    font-size: 14px;
    color: #555;
}

.social-icons img {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
}

.social-icons a {
    text-decoration: none;
}

.social-icons img:hover {
    opacity: 0.8;
}

/* Cart Modal */
.cart-modal {
    display: none; /* Hide modal by default */
    position: fixed; /* Fix modal to screen */
    z-index: 1000; /* Ensure modal is above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.cart-modal-content {
    background-color: white;
    margin: 10% auto; /* Center vertically */
    padding: 20px;
    border-radius: 10px;
    width: 400px; /* Width of the modal */
    position: relative;
}

.close-btn {
    color: gray;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cart-items {
    margin: 20px 0;
}

.checkout-btn {
    background-color: #284855;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.checkout-btn:hover {
    background-color: #2f855a;
}