/* ─────────────────────────────────────────────────────────────
   RESET & GLOBAL
───────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: verdana;
    margin: 0;
    padding: 0;
}

.hide {
    display: none;
}

/* ─────────────────────────────────────────────────────────────
       LAYOUT CONTAINER
  ───────────────────────────────────────────────────────────── */
#container {
    padding: 20px;
    min-height: 300px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
       HEADER: LOGO, SEARCH & ACCOUNT
  ───────────────────────────────────────────────────────────── */
#banner {
    position: relative;
    background: white;
    padding: 10px 20px;
}

#banner .banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}

#logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    margin-top: 10px;
}

.banner-actions {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 20px;
}


.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.search-form button {
    padding: 6px 12px;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

input,
button,
select,
textarea {
    font-family: inherit;
}

/* ─────────────────────────────────────────────────────────────
       NAV BAR (SECOND ROW)
  ───────────────────────────────────────────────────────────── */
#menu {
    display: flex;
    justify-content: center;
    gap: 5rem;
    background-color: #fcb75d;
    /* background-color: rgba(255, 182, 193, 0.428); */
    padding: 0.7rem 2rem;
}

.nav {
    text-decoration: none;
    color: white;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav:hover {
    color: whitesmoke;
    text-decoration: underline;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
       ABOUT PAGE STYLING
  ───────────────────────────────────────────────────────────── */
#about-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 10px 20px;
    line-height: 1.7;
    color: #333;
}

#about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: black;
}

#about-container p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#about-container p strong {
    color: #fcb75d;
    /* color: rgba(255, 182, 193, 0.428); */
}

#about-container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #fcb75d;
    /* background: rgba(255, 182, 193, 0.428); */
    margin: 12px auto 24px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    #about-container {
        margin: 40px 16px;
        padding: 0 12px;
    }

    #about-container h2 {
        font-size: 2rem;
    }

    #about-container p {
        font-size: 1rem;
    }
}

/* ─────────────────────────────────────────────────────────────
     PRODUCT DETAILS PAGE (TWO-COLUMN)
───────────────────────────────────────────────────────────── */

#product-details>h2 {
    grid-column: 2;
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

#product-details .product-images {
    grid-column: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#product-details .product-image-radios {
    grid-column: 1;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#product-details>p,
#product-details button.add-to-wishlist {
    grid-column: 2;
}

#product-details p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #333;
}

#product-details .add-to-wishlist {
    padding: 0.6rem 1.2rem;
    background: #fcb75d;
    /* background: rgba(255, 182, 193, 0.428); */
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

#product-details .add-to-wishlist:hover {
    background: #e0a24c;
    /* background: rgba(255, 182, 193, 0.428); */
}

/* ─────────────────────────────────────────────────────────────
       STACKED ON MOBILE
  ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #product-details {
        grid-template-columns: 1fr;
    }

    #product-details>p,
    #product-details button.add-to-wishlist {
        grid-column: 1;
    }

    #product-details .product-image-radios {
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────────────────────
       FOOTER
  ───────────────────────────────────────────────────────────── */

.footer {
    background: #f6b24d;
    /* background: rgba(255, 182, 193, 0.428); */
    color: #fff;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Layout for MENU + SOCIAL */
#top-footer {
    display: flex;
    justify-content: center;
    gap: 4rem;
    /* wider space between menu and socials */
    width: 100%;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

/* MENU + SOCIAL Columns */
#footer-menu,
#footer-social {
    flex: 1;
    text-align: center;
}

/* Section Titles */
#footer-menu h4,
#footer-social h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Menu Links */
#footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#footer-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

#footer-links a:hover {
    opacity: 0.8;
}

/* Social Icons */
#social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

#social-links img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: invert(1);
    transition: filter 0.2s;
}

#social-links a:hover img {
    filter: invert(0.7);
    cursor: pointer;
}

/* Copyright at bottom */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ─────────────────────────────────────────────────────────────
       HEADER: LOGO, SEARCH & ACCOUNT
  ───────────────────────────────────────────────────────────── */
#banner {
    position: relative;
    background: white;
    padding: 10px 20px;
}

#banner .banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}

#logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    margin-top: 5px;
}

.banner-actions {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 20px;
}


.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.search-form button {
    padding: 6px 12px;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

input,
button,
select,
textarea {
    font-family: inherit;
}

/* ─────────────────────────────────────────────────────────────
   HEADER — STACK SEARCH + ACCOUNT ON PHONES
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

    #banner .banner-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-right: 0;
    }

    #banner .search-form {
        width: 100%;
    }

    #banner .search-form input {
        flex: 1 1 auto;
        width: 100%;
    }

    #banner #account-area {
        align-self: flex-end;
    }
}

/* mobile behavior */
@media (max-width: 900px) {
    #hamburger-bar {
        display: flex;
    }

    #menu {
        display: none !important;
    }
}

/* desktop behavior */
@media (min-width: 901px) {

    #hamburger-bar,
    #hamburger-content {
        display: none !important;
    }
}

/* hidden utility */
.hide {
    display: none;
}

/* mobile */
@media (max-width: 900px) {
    #hamburger-bar {
        display: flex;
    }

    #menu {
        display: none !important;
    }
}

/* desktop */
@media (min-width: 901px) {

    #hamburger-bar,
    #hamburger-content {
        display: none !important;
    }
}

/* utility */
.hide {
    display: none;
}

/* MOBILE “HAMBURGER” BAR + DROPDOWN (only ≤900px) */
/* 1) The bar that sits under the logo */
#hamburger-bar {
    width: 100vw;
    /* full viewport width */
    margin-left: calc(50% - 50vw);
    /* full-bleed */
    background-color: #fcb75d;
    display: none;
    /* hidden by default; shown via @media */
    justify-content: center;
    padding: 0.7rem 0;
    z-index: 1000;
}

#hamburger-bar img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* 2) The dropdown panel */
#hamburger-content {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #fcb75d;
    display: none;
    /* toggled by JS: add/remove .hide */
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
}

#hamburger-content a {
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#hamburger-content a:hover {
    background-color: #e5a050;
}

/* 3) Show the hamburger on small screens; hide desktop nav there */
@media (max-width: 900px) {
    #hamburger-bar {
        display: flex;
    }

    #menu {
        display: none !important;
    }
}

/* 4) Hide both hamburger bar and panel on large screens */
@media (min-width: 901px) {

    #hamburger-bar,
    #hamburger-content {
        display: none !important;
    }
}

/* Utility */
.hide {
    display: none;
}

#hamburger-content.open {
    display: flex !important;
}

/* ─────────────────────────────────────────────────────────────
       FOOTER
  ───────────────────────────────────────────────────────────── */

.footer {
    background: #f6b24d;
    /* background: rgba(255, 182, 193, 0.428); */
    color: #fff;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Layout for MENU + SOCIAL */
#top-footer {
    display: flex;
    justify-content: center;
    gap: 4rem;
    /* wider space between menu and socials */
    width: 100%;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

/* MENU + SOCIAL Columns */
#footer-menu,
#footer-social {
    flex: 1;
    text-align: center;
}

/* Section Titles */
#footer-menu h4,
#footer-social h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Menu Links */
#footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#footer-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

#footer-links a:hover {
    opacity: 0.8;
}

/* Social Icons */
#social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

#social-links img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: invert(1);
    transition: filter 0.2s;
}

#social-links a:hover img {
    filter: invert(0.7);
    cursor: pointer;
}

/* Copyright at bottom */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.maintenance-banner {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.maintenance-banner strong {
    color: #d48806;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT PAGE (if using #contact-container)
───────────────────────────────────────────────────────────── */
#contact-container {
    max-width: 800px;
    margin: 45px auto;
    padding: 0 20px;
}

#contact-container h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #222;
    margin-bottom: 1rem;
    position: relative;
}

#contact-container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #fcb75d;
    /* background: rgba(255, 182, 193, 0.428); */
    margin: 12px auto 24px;
    border-radius: 2px;
}

#contact-container h3 {
    font-size: 1.75rem;
    color: #222;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

#contact-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

#contact-container a {
    color: #fcb75d;
    /* color: rgba(255, 182, 193, 0.428); */
    text-decoration: none;
}

#contact-container a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────
     STACK TO ONE COLUMN BELOW 600px
  ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    #top-footer {
        flex-direction: column;
        gap: 1rem;
    }
}