/* Prevent horizontal scrolling while allowing vertical scrolling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: Poppins, Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Disable horizontal scrolling */
    background-color: white;
    text-align: center;
}

.header {
    background-color: white;
    border-bottom: 2px solid #000;
    padding: 20px 0;
}

main {
    flex: 1;
}

/* --- UPDATED HEADER FLEXBOX --- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Gives the header some breathing room on large screens */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Force equal width on left, middle, and right to perfectly center the nav */
.logo-container, .nav, .user-actions {
    flex: 1;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
}

.header-logo {
    height: 100px; /* Adjust height as needed */
    width: auto;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    padding: 10px 15px;
}

.nav a:hover {
    color: red;
}

/* --- UPDATED USER ACTIONS (CART, LINE, LOGIN) --- */
.user-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px; /* Space between cart, line, and login */
}

/* Circular Cart Icon */
.cart-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5; /* Light gray circle */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-circle:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

.cart-svg {
    width: 20px;
    height: 20px;
    color: black;
}

/* Vertical Divider Line */
.action-divider {
    width: 1px;
    height: 24px;
    background-color: black;
    opacity: 0.3;
}

/* Login Text Styling */
.login-text {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.login-text:hover {
    opacity: 0.7;
    color: red;
}

/* Responsive Mobile Crunch */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        max-width: 90%;
    }

    .logo-container, .nav, .user-actions {
        flex: auto;
        justify-content: center;
    }

    .logo-container img {
        height: 50px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .user-actions {
        gap: 15px;
    }
}


/* Favorite and Cart Items */
.favorite-item, .cart-item {
    width: 300px;
    margin: 10px auto;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.show-box {
    width: 180px;
    height: 100px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    line-height: 100px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.show-box:hover {
    transform: scale(1.05);
}


.error-text{
    text-align: center;
    padding: 200px;
}

/* Main Text Section */
.main-text {
    text-align: center;
    margin-bottom: 20px;
}

    .main-text h1 {
        font-size: 48px;
        color: black;
        text-transform: uppercase;
        margin: 0;
    }

.main-title {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: black;
}

.sub-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: black;
}

.sub-title2 {
    font-size: 14px;
    text-transform: uppercase;
    color: black;
}

.pre-title {
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: black;
}

.small-text {
    font-size: 12px;
    color: #555;
    margin-top: -10px;
    text-align: left;
}
.small-text2 {
    font-size: 8px;
    color: #333;
    margin-top: -55px;
    padding-bottom: 60px;
    text-transform: uppercase;
}

.copyright-text {
    font-size: 14px;
    color: black;
    margin-bottom: 15px;
}

/* Portfolio Layout */
.portfolio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    gap: 40px;
}

.portfolio-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%; /* Max 2 items per row */
    min-width: 280px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.portfolio-text {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    text-align: center;
    max-width: 400px;
}

.addon-wrapper {
  margin-top: 20px;
  text-align: center;
}

.toggle-options {
  margin-bottom: 10px;
  padding: 5px 15px;
  font-size: 16px;
  cursor: pointer;
}

.addon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.addon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}



.addon-item input[type="checkbox"],
.addon-item input[type="number"],
.addon-item input[type="text"] {
    padding: 5px;
}

.addon-price {
    font-weight: bold;
}







.main-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
    padding-bottom: 120px;
    padding-top: 30px;
}

    .main-boxes a {
        text-decoration: none;
    }


.main-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
    .main-image-container .image-logo-overlay {
        z-index: 20; /* Ensure it's above the main display image */
    }
.main-display-image {
    max-width: 90%;
    max-height: 400px;
    border: 2px solid white;
    border-radius: 10px;
    object-fit: contain;
}
.main-display-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hanaco_tag_black_text.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0.4;
    z-index: 20; /* Ensure it's above the main display image */
}
/* Box Styling */
.main-item {
    width: 400px; /* Adjust to fit your layout */
    height: 550px; /* Adjust to fit your layout */
    background-size: cover; /* Ensure the image covers the box */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    position: relative;
    text-align: center;
    border-radius: 10px; /* Optional: Add rounded corners */
    overflow: hidden; /* Ensure content stays within the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
    transition: transform 0.3s, box-shadow 0.3s;
}

    .main-item:hover {
        transform: scale(1.05); /* Slightly enlarge the box on hover */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
    }

    .main-item .box {
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
        color: white;
        padding: 10px;
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

.box2 {
            background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
        color: white;
        padding-top: 30px;
    margin-top: 40px;
        width: 100%;
        text-align: center;
        font-size: 16px;
}
    

    .main-item h5 {
        margin: 0;
        font-size: 16px;
        text-transform: uppercase;
    }
    .main-item h6 {
        margin: 0;
        font-size: 12px;
        text-transform: uppercase;
    }

    .main-item h1 {
        margin: 0;
        font-size: 24px;
        text-transform: uppercase;
    }

.main-item2 {
    width: 100px; /* Adjust to fit your layout */
    height: 150px; /* Adjust to fit your layout */
    background-size: cover; /* Ensure the image covers the box */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    position: relative;
    text-align: center;
    border-radius: 10px; /* Optional: Add rounded corners */
    overflow: hidden; /* Ensure content stays within the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
    transition: transform 0.3s, box-shadow 0.3s;
}
.full-cover-overlay {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hanaco_tag_black_text.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* Cover the entire thumbnail */
    background-position: center;
    pointer-events: none;
    opacity: 0.4;
    z-index: 10; /* Keep the logo above the thumbnail images */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} /* Added missing closing brace here for .container */

.container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px 0;
    background-color: white; /* Ensure container2 has no background image */
}

    .container .main-boxes, .container3 .main-boxes,
    .container2 .main-boxes {
        display: flex;
        flex-direction: row; /* Align boxes horizontally */
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

/* Link Styling for Main Items */
.main-item-link {
    text-decoration: none;
    color: inherit;
}

    .main-item-link:hover .main-item {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }




/* Footer Section */
footer {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #ccc;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

    .footer-content h1 {
        font-size: 24px;
        text-transform: uppercase;
        margin: 10px 0;
    }

    .footer-content input[type="text"] {
        width: 40%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid black;
        border-radius: 5px;
    }

    .footer-content button {
        padding: 10px 20px;
        background-color: black;
        color: white;
        border: none;
        text-transform: uppercase;
        cursor: pointer;
    }

        .footer-content button:hover {
            background-color: #333;
        }

.footer-icon {
    margin-top: 10px;
    font-size: 12px;
}

/* Gallery Section */

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
}

.gallery-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and text */
    max-width: 800px;
    justify-content: center;
}

.image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers image and caption */
}

.image-wrapper img {
    width: 350px; /* Adjust image width */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-caption {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
    color: gray;
}

.image-text {
    width: 300px; /* Set width for text */
    font-size: 16px;
    line-height: 1.5;
}

.image-text.right {
    text-align: left;
}

.image-text.left {
    text-align: right;
    order: -1; /* Moves text to the left */
}



/*/////////////////////////////////////////////////////*/



/* Contact Section */
.contact-container {
    text-align: center;
    padding: 50px;
    background-color: white;
}

.contact-title {
    font-family: Arial, sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    color: black;
    width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}


/* Individual Boxes for Each Section */
.contact-sections {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* Space between the boxes */
    margin-top: 40px;
    padding: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-box {
    border: 1px solid black; /* Box border */
    padding: 20px; /* Space inside the box */
    border-radius: 2px; /* Slight rounded edges */
    text-align: center; /* Center text inside */
    background-color: white;
    flex-direction: column;
    justify-content: center; /* Align content to the top */
    display: inline-block; /* Keeps box size based on content */
    max-width: fit-content; /* Ensures it only takes up as much space as needed */
}
.contact-box2 {
    border: 1px solid black; /* Box border */
    padding: 15px; /* Space inside the box */
    text-align: center; /* Center text inside */
    background-color: white;
    flex-direction: column;
    justify-content: center; /* Align content to the top */
    display: inline-block; /* Keeps box size based on content */
    max-width: fit-content; /* Ensures it only takes up as much space as needed */
    line-height: 1.2; /* Reduces space between lines */
}

.contact-box2 p {
    margin: 2px 0; /* Reduces space above and below each paragraph */
}

    .contact-box h3 {
        font-size: 22px;
        text-decoration: underline;
        text-transform: uppercase;
        margin: 5px 0; /* Reduced spacing to position closer to the top */
        color: black;
    }

    .contact-box p {
        font-size: 16px;
        margin: 5px 0; /* Adjusted spacing for better grouping */
        line-height: 1.5;
        color: black;
    }

    /* Specific Spacing for Price Text */
    .contact-box strong {
        display: block;
        margin: 50px 0 5px; /* Spacing above and reduced below for grouping */
        font-size: 18px;
        text-transform: uppercase;
        color: black;
    }

    .contact-box p + p {
        margin-top: -5px; /* Move the price closer to the heading above */
        font-size: 16px;
        line-height: 1.4;
    }

.contact-form-box {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 5px 0; /* Reduced spacing to position closer to the top */
    color: black;
}
.contact-form-button-box {
    font-size: 13px;
    text-transform: uppercase;
    color: black;
    background-color: white;
    display: block;
}

/* Form Section */
.form-container {
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid black;
}

form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid black;
    font-size: 14px;
    margin-top: 5px;
}

textarea {
    height: 100px;
}

textarea1 {
    width: 100px;
    padding: 5px;
    border: 1px solid black;
    font-size: 14px;
    margin-top: 5px;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

    button[type="submit"]:hover {
        background-color: #333;
    }


/* GRIDS AND CONTAINERS */
.week-container {
    text-align: center;
    padding: 40px;
    background-color: white;
    padding-bottom: 300px;
}

.week-grid {
    display: inline-grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 10px;
}
.show-container {
    text-align: center;
    padding: 40px;
    background-color: white;
    padding-bottom: 300px;
}

.show-container-text {
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding: 40px;
    padding-top: 40px;
    background-color: white;
    
}

.show-grid {
    display: inline-grid;
    gap: 20px;
    justify-items: center;
    padding: 10px;

}

    .show-grid2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the boxes horizontally */
    align-items: center;
    text-align: center;
    gap: 15px; /* Space between boxes */
    margin-top: 20px;
}


.black-box {
    width: 150px;
    height: 150px;
    background-color: black;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

    .black-box:hover {
        transform: scale(1.05);
        background-color: #333;
    }

/* Vertically Stacked Images */
.image-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Space between the images */
}

.image-container {
    position: relative;
    width: 600px;
    height: 400px;
    border: 2px solid black;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-container .image-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
        font-size: 20px;
        font-weight: bold;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 5px 10px;
        border-radius: 5px;
        text-align: center;
    }
/* Modify display-window for folder background */
.display-window {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); /* Changed to semi-transparent black */
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.display-image {
    max-width: 90%;
    max-height: 300px;
    object-fit: contain;
    border: 2px solid white;
    border-radius: 5px;
}

/* Grid container for images */
.photo-display-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images per row */
    gap: 20px;
    justify-items: center;
    margin: 20px auto;
    max-width: 1200px;
}

/* Image wrapper with logo overlay */
.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px; /* Adjust image size */
    text-align: center;
}

    .image-wrapper img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover; /* Fit to the container while respecting proportions */
    }




    /* Logo overlay */
    .image-wrapper .logo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background-size: cover; /* Ensure the overlay stretches properly */
        background-repeat: repeat;
        background-position: center;
        opacity: 0.45;
        pointer-events: none;
        z-index: 1;
    }





    /* Price and Add to Cart button */
    .image-wrapper p {
        margin: 10px 0;
        font-weight: bold;
    }


.image-landscape {
    width: 300px;
    height: 200px;
    object-fit: cover; /* Ensures the image fills the specified dimensions */
    margin: 5px;
}

.image-portrait {
    width: 200px;
    height: 300px;
    object-fit: cover; /* Ensures the image fills the specified dimensions */
    margin: 5px;
}

/* Account Page Styles */


.favorites-list-text {
    border: 1px solid #ddd;
    border-radius: 10px;
}

.account-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto;
    max-width: 800px;
    gap: 30px;
}

.account-section {
    background-color: #fbfbfb;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    text-align: center;
}

    .account-section h2 {
        font-size: 22px;
        margin-bottom: 5px;
        color: #333;
        text-transform: uppercase;
    }

    .account-section p {
        font-size: 14px;
        color: #555;
        margin-bottom: 5px;
    }
    .account-section-fav{
        padding-top: 10px;
        width: 20%;
        justify-self: center;

    }

.action-button {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .action-button:hover {
        background-color: #333;
    }

.vertical-line {
    width: 60%;
    height: 2px;
    background-color: #ddd;
    margin: 20px 0;
}

#user-email {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

/* Login Page Styles */
.login-container, .signup-container {
    display: block;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 100px;
}
    .login-container h1, h2
    {
        text-transform: uppercase;
    }
    .login-container input {
        align-self: center;
        width: 80%;
        padding-bottom: 10px;
    }
    .login-container button {
        align-self: center;
        width: 20%;
        border-radius: 10px; /* Optional: Add rounded corners */
    }


.user-icon {
    display: none; /* Hidden by default, shown when logged in */
}

.image-button {
    width: 600px;
    height: 400px;
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
}


/* Container for Uploaded Photos */
/* Container for Uploaded Photos */
/* Container for Uploaded Photos */
.uploaded-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Photo Container */
.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
}

/* Photo Box */
.photo-box {
    width: 100%;
    height: 400px;
    background-color: black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid black;
}

/* Photo Name */
.photo-name {
    font-size: 16px;
    color: black;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* Photo Price */
.photo-price {
    font-size: 18px;
    color: black;
    margin: 5px 0;
    text-align: center;
}






#coupon-code {
    width: 200px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}


.buy-now-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 5px;
}

    .buy-now-button:hover {
        background-color: #333;
    }

.folder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    margin: 5px;
    background-color: #999999;
    color: #000;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

    .folder-box:hover {
        transform: scale(1.05);
        background-color: #666666;
    }






/* Admin tools container */
.admin-tools-container {
    margin: 20px 0;
    text-align: center;
}

#admin-tools-form {
    margin-top: 10px;
}

#top-title-input,
#bottom-title-input {
    margin: 5px;
    padding: 10px;
    font-size: 14px;
    width: 200px;
}

#submit-titles-button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

    #submit-titles-button:hover {
        background-color: #333;
    }


/* General Buy Page Styles */
.buy-page-container {
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.physical-copy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


.box-edit-form, .delete-box-form {
    margin: 20px 0;
    display: none; /* Hidden by default */
    text-align: center;
}

    .box-edit-form input[type="text"], .box-edit-form input[type="file"],
    .delete-box-form select {
        margin: 10px 5px;
        padding: 8px;
        width: 70%;
        max-width: 300px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
    }

    .box-edit-form button, .delete-box-form button {
        margin-top: 10px;
        padding: 8px 16px;
        font-size: 14px;
        color: white;
        background-color: black;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .box-edit-form button:hover, .delete-box-form button:hover {
            background-color: #333;
        }

    .delete-box-form select {
        width: 50%;
    }

.grid-item p {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.connect-page-container {
    text-align: center;
    justify-content: center;   
    margin: 10px 0;
    display: flex;
}

.connect-page-form {
    text-align: center;
    display: none;
}

.back-button {
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
}

.date-field {
    font-size: 12px;
    color: gray;
    margin-top: -5px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1000;
    overflow: auto;
}

    .overlay .content {
        margin: 5% auto;
        padding: 20px;
        background: white;
        border-radius: 5px;
        width: 80%;
        text-align: center;
    }

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}


input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: black; /* Ensure the checkbox color matches the theme */
    cursor: pointer;
}




/* CONTROL ROOM CONTROL ROOM CONTROL ROOM*/
/* CONTROL ROOM CONTROL ROOM CONTROL ROOM*/
/* CONTROL ROOM CONTROL ROOM CONTROL ROOM*/


.controlroom-button {
    display: none; /* Hidden by default */
    margin: 20px auto;
    padding: 15px 30px;
    font-size: 18px;
    text-transform: uppercase;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

    .controlroom-button:hover {
        background-color: #333;
    }


.controlroom-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

.control-section {
    flex: 1 1 30%;
    margin: 0 10px;
    padding: 20px;
    border: 1px solid black;
    background-color: #f9f9f9;
    text-align: center;
}

    .control-section h2 {
        margin-bottom: 15px;
        font-size: 18px;
        text-transform: uppercase;
    }

    .control-section button {
        display: block;
        margin: 10px auto;
        padding: 10px;
        font-size: 14px;
        background-color: black;
        color: white;
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        border-radius: 5px;
    }

        .control-section button:hover {
            background-color: #333;
        }

.new-page-name-container {
    display: none;
    margin-top: 15px;
}

    .new-page-name-container input {
        width: 80%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid black;
        border-radius: 5px;
        font-size: 14px;
    }

    .new-page-name-container button {
        padding: 10px;
        font-size: 14px;
        background-color: black;
        color: white;
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        border-radius: 5px;
    }

        .new-page-name-container button:hover {
            background-color: #333;
        }

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: black;
}

    a:hover {
        text-decoration: underline;
    }

#pages-list a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
}

    #pages-list a:hover {
        color: red;
        text-decoration: underline;
    }











/* CART CART CART CART*/


/* CART CART CART CART*/



/* Save Information Checkbox Styling */
.save-info-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    gap: 10px;
    cursor: pointer;
}

    .save-info-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: black; /* For modern browsers to set the checkbox color */
        border: 1px solid black;
        border-radius: 3px;
        margin-top: 15px;
    }

/* Payment Section Styling */
.payment-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.payment-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

    .payment-option-button:hover {
        background-color: red;
    }

.payment-icon {
    width: 24px;
    height: 24px;
}

.credit-card-form .form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.credit-card-form label {
    flex: 1;
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
}

.credit-card-form input {
    flex: 2;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 14px;
}
/* Additional Information Section */
.additional-info-section {
    padding: 20px;
    border: 1px solid black;
    margin-bottom: 30px;
    border-radius: 5px;
    background-color: #fff;
}

    .additional-info-section .form-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .additional-info-section label {
        flex: 1;
        text-align: right;
        margin-right: 10px;
        font-size: 14px;
    }

    .additional-info-section input {
        flex: 2;
        padding: 10px;
        border: 1px solid black;
        border-radius: 5px;
        font-size: 14px;
    }


.add-email-button {
    display: block;
    margin: 10px auto;
    padding: 10px 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    text-transform: uppercase;
}

    .add-email-button:hover {
        background-color: red;
    }

/* Submit Section */
.submit-section {
    padding: 20px;
    text-align: center;
}


/* Form Inputs */
form input,
form select {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.compact-form {
    display: flex;
    width: 60%;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    text-align: center;
}

    .compact-form label {
        flex: 1;
        text-align: right;
        margin-right: 10px;
        font-size: 14px;
    }

    .compact-form input,
    .compact-form select {
        flex: 2;
        padding: 8px;
        font-size: 14px;
        border: 1px solid black;
        border-radius: 5px;
    }

.divider {
    border-bottom: 2px solid black;
    margin: 15px 0;
}


.hidden {
    display: none;
}

/* Section Styling */
.buypage-cart-section
{
    padding: 20px;
    margin-bottom: 50px;
    border-radius: 5px;
    text-align:center;
}

    .buypage-cart-section .buypage-cart {
        background-color: white;
        padding: 15px;
        border-radius: 5px;
    }
.buypage-contact-section{

}
.buypage-payment-section {
    border: 1px solid black;
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
}
.buypage-addons-section {
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    border: 1px solid black;
}
/* Addons Section */
.buypage-addon-options label {
    display: grid;
    margin-bottom: 10px;
}

.buypage-cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .buypage-cart-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

.buypage-cart-total {
    font-weight: bold;
    text-align: right;
    margin-top: 20px;
}


/* Submit Button */
.buypage-submit-button {
    width: 100%;
    padding: 15px;
    background-color: black;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
display: block;

}

    .buypage-submit-button:hover {
        background-color: red;
    }



.cart-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

    .cart-button:hover {
        background-color: #333;
    }

.empty-cart-message {
    list-style: none; /* Remove bullet point */
    text-align: center; /* Center-align the text */
    font-size: 18px; /* Adjust font size */
    color: #555; /* Optional: Add a subtle color */
    margin: 20px 0; /* Add spacing */
}

.cart-item-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.cart-item-box {
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

    .cart-item-box:hover {
        background-color: red;
        color: white;
    }

    .cart-item-box.selected {
        background-color: black;
        color: white;
        font-weight: bold;
    }

.add-to-cart-button {
    width: 200px; /* Adjust width as needed */
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-to-cart-button {
    background-color: #ff6600;
    color: white;
    margin-top: 5px;
}

.add-to-cart-button:hover {
    background-color: #e65c00;
}

.p-s-button {
    margin-top: 5px;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .p-s-button:hover {
        background-color: #ccc;
    }

.cart-container {
    text-align: center;
    margin: 50px auto;
    width: 80%;
}

    .cart-container h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

#cart-list li div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#cart-list button {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#cart-list .view-button {
    background-color: black;
    color: white;
}

#cart-list .remove-button {
    background-color: #ff4d4d; /* Red for Remove */
    color: white;
}

    #cart-list .view-button:hover,
    #cart-list .remove-button:hover {
        opacity: 0.9;
    }

#cart-list .button-group {
    display: flex;
    gap: 10px; /* Adjust gap between buttons */
    justify-content: center;
}

/* --- Updated Responsive Header and Navigation --- */


button.favorite-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
button.favorite-button.active {
    color: red;
}
