/* GLOBAL STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --powder-pink: #f2d8db;
    --primary-pink: #e6536d;
    --bubblegum-pink: #f58092;
    --leafy-green: #49705b;
    --pastel-yellow: #fcf185;
}

/* FONT FACES */

@font-face {
    font-family: 'Lucid-Dream';
    src: url('../fonts/Lucid-Dream.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Sugar-Flare';
    src: url('../fonts/Sugar-Flare.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Adelia-Font';
    src: url('../fonts/Adelia-Font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Milkyway-Font';
    src: url('../fonts/Milkyway-Font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cute-Sunrise';
    src: url('../fonts/Cute-Sunrise.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Outfit', sans-serif;
    background: white;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-family: 'Cute-Sunrise';
    font-size: 3rem;
    color: var(--primary-pink);
}

h2, h3 {
    font-family: 'Cute-Sunrise';
    color: var(--primary-pink);
}

/* CONTAINER AND UTILITIES */

.container {
    width: 80%;
    margin: 20px auto;
}

.about, .team, .footer-container, .shop-header {
    padding-left: 2rem;
    padding-right: 2rem;
}

main, section {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

.hidden {
    display: none;
}

/* HEADER AND NAVIGATION BAR */

header {
    background: var(--powder-pink);
    padding: 0;
    text-align: initial;
}

.navbar-brand {
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    height: 120px;
    width: auto;
    margin-bottom: 0.5rem;
    transition: height 0.3s ease;
}

.nav-links {
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-link { 
    font-family: 'Cute-Sunrise';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bubblegum-pink) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active { color: var(--leafy-green) !important; }
.nav-icon { width: 30px !important; height: 30px !important; vertical-align: middle; font-weight: bold; stroke-width: 5px; transition: all 0.3s ease; filter: drop-shadow(0 0 1px rgba(0,0,0,0.5)); }
.nav-icon:hover { transform: scale(1.15); filter: drop-shadow(0 0 2px rgba(0,0,0,0.8)); }
.nav-link.active .nav-icon, .nav-icon:active { filter: brightness(0) saturate(100%) invert(27%) sepia(18%) saturate(1234%) hue-rotate(120deg) brightness(95%) contrast(89%); }

/* HAMBURGER & MOBILE NAV BAR STYLES */

#nav-toggle { display: none; } 

.hamburger {
    position: relative;
    width: 2.5em; height: 35px; z-index: 100; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center;
}

.hamburger div {
    position: relative; width: 100%; height: 4px; border-radius: 3px;
    background-color: var(--bubblegum-pink); 
    margin-top: 6px; transition: all 0.3s ease-in-out;
}

.hamburger div:first-child { margin-top: 0; }

#navbarNav {
    display: block !important; 
    visibility: hidden; 
    position: fixed; width: 100%; height: 100%;
    background-color: var(--powder-pink); 
    top: 0; left: 0; z-index: 90; 
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); 
}


/* HERO SECTION */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    height: clamp(25rem, 50vh, 35rem);
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, rgba(255, 192, 203, 0.3), transparent),
              url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/home-welcome-page.png') no-repeat center center;
    background-size: cover;
}

.hero a.squishy-btn {
    transform: translateY(20px);
}

/*
* DISCLOSURE: The core styling and effect for the .squishy-btn 
* (including the multi-layered box-shadow effect) was adapted 
* from an external CSS resource/tutorial found on codepen.io/havardob.
* We're thankful to the original creator for sharing this design!
*/

/* SQUISHY BUTTON */

.squishy-btn {
    font-family: 'Lucid-Dream';
    font-size: 1.8rem;
    color: var(--primary-pink);
    position: relative;
    background-color: #f0f0f0;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.5rem 1.2rem;
    text-shadow: 0 0.03rem 0 #fff;
    box-shadow:
        inset 0 0.0625rem 0 0 #f4f4f4,
        0 0.0625rem 0 0 #efefef,
        0 0.125rem 0 0 #ececec,
        0 0.25rem 0 0 #e0e0e0,
        0 0.3125rem 0 0 #dedede,
        0 0.375rem 0 0 #dcdcdc,
        0 0.425rem 0 0 #cacaca,
        0 0.425rem 0.5rem 0 #cecece;
    transition: 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 2rem;
    width: auto;
    text-decoration: none;
}

.squishy-btn:hover,
.squishy-btn:active {
    transform: translateY(0.225rem);
    box-shadow:
        inset 0 0.03rem 0 0 #f4f4f4,
        0 0.03rem 0 0 #efefef,
        0 0.0625rem 0 0 #ececec,
        0 0.125rem 0 0 #e0e0e0,
        0 0.125rem 0 0 #dedede,
        0 0.2rem 0 0 #dcdcdc,
        0 0.225rem 0 0 #cacaca,
        0 0.225rem 0.375rem 0 #cecece;
}

.squishy-btn::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: calc(100% + 0.375rem);
    top: 0;
    left: 0;
    background-color: transparent;
    transition: height 0.25s ease;
}

/* COLLECTIONS SECTION */

.collections {
    padding: 4rem 2rem;
    text-align: center;
    background: white;
}

.collection-title {
    font-family: 'Sugar-Flare'; 
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.collection-grid {
    margin: 2rem auto;
    max-width: 65rem;
    display: flex;
    justify-content: center;
}

.collection-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 20rem;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    transition: transform 0.3s, background 0.3s;
}

.collection-card a {
    text-decoration: none;
    color: var(--primary-pink);
    font-weight: bold;
}

.collection-card img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.collection-card:hover {
    background: var(--powder-pink);
    transform: scale(1.05);
}

/* ABOUT SECTION */

.about, .shop-header {
    background: white;
}

.about-title, .shop-title {
    font-family: 'Sugar-Flare'; 
    font-size: 3rem;
    color: var(--primary-pink);
    text-align: left;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-text ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-pink);
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 0.9375rem;
}

/* TEAM AND PROMO SECTIONS */

.team , .promo {
    background: var(--primary-pink);
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    margin: 0;
}

.team-header , .promo-header {
    font-family: 'Sugar-Flare'; 
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--powder-pink);
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: normal;
    display: block; 
    width: 100%;
}

.team-subtitle , .promo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--powder-pink);
    letter-spacing: 2px;
    white-space: normal;
    text-align: center;
    margin: 0 0 1rem 0;
    padding: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
}

.team-member img {
    width: 9.375rem;
    height: 9.375rem;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.team-member h3 {
    font-family: 'Cute-Sunrise', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--powder-pink);
    margin-bottom: 0.5rem;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* PROMO SECTION */

.promo-container {
    max-width: 750px;
    margin: 0 auto;
}

.promo-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
}

.promo-container ul {
    padding-left: 0; 
    margin-bottom: 1.5rem;
    text-align: left;
    margin-top: 0;
}

.promo-container ul li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.5; 
    color: white;
}

/* CONTACT SECTION */

.contact {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    color: var(--leafy-green);
    font-family: 'Outfit', sans-serif;
    min-height: calc(100vh - 400px);
}

.contact h2 {
    font-size: 3.5rem;
    font-family: 'Sugar-Flare';
    text-align: center;
    color: var(--leafy-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.input-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-row input {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 480px) {
    .input-row input {
        flex: 1 1 100%;
    }
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
}

button {
    width: 100px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    background-color: var(--leafy-green);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--dark-green);
}

/* FAQ SECTION */

.faq-section {
    padding: 3rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-container {
    width: 100%;
}

.faq-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-family: 'Sugar-Flare', cursive;
    color: var(--leafy-green);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s;
    color: var(--leafy-green);
    font-weight: 600;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    min-height: 60px;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--leafy-green);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem; 
    background-color: white;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer h4 {
    color: var(--leafy-green);
    margin: 0.8rem 0 0.25rem 0;
    font-weight: 600;
}

.faq-answer p {
     margin: 0.3rem 0 1rem 0;
}

.faq-answer p:last-child {
    margin-bottom: 0.5rem;
}

.faq-answer h4:first-child {
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* REGISTRATION/LOGIN PAGE */

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    color: #888;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.or-divider span {
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.auth-footer-text {
    text-align: center;
    margin-top: 20px;
}

.auth-footer-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.auth-footer-text a {
    color: #4a6741;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-footer-text a:hover {
    color: #FFB6C1 !important;
    text-decoration: none !important;
    opacity: 1;
}

.invalid-feedback, 
.validation-message,
.input-group + .error-text,
#password-requirements,
[id$="-error"] { 
    text-align: left !important;
    display: block;
    width: 100%;
    font-size: 0.85rem; 
    padding-left: 5px;
    margin-top: 6px; 
    color: #dc3545;
    line-height: 1.4; 
}

.registration-main {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.registration-main::before {
    content: '';
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-title {
    color: #E6536D;
    font-family: 'Cute-Sunrise';
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem; 
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    padding-right: 45px; 
    border: 2px solid #49705B;
    border-radius: 8px !important;
    font-size: 1rem;
    background: white;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-group i {
    position: absolute;
    right: 15px;
    top: 24px;
    cursor: pointer;
    color: #49705B;
    font-size: 1.1rem;
    z-index: 10;
    transition: color 0.3s ease;
    height: 52px;
}

.input-group i:hover {
    color: #E6536D; 
}

.input-group input:focus {
    border-color: #E6536D;
}

.input-group input::placeholder {
    color: #999;
}

/* --- LINKS AND BUTTONS --- */
.forgot-password-wrapper {
    text-align: right; 
    margin-top: -0.5rem; 
}

.forgot-password {
    text-align: left;
    margin-top: -0.5rem;
}

.forgot-link, .create-link {
    color: #666;
    font-size: .85rem;
    text-decoration: underline;
}


.forgot-link:hover, .create-link:hover {
    color: #49705b;
}

.login-btn {
    background-color: #49705B !important;
    font-family: 'Poppins', sans-serif;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease !important;
    margin-top: 1rem;
    margin-bottom: 8px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-self: center; 
}

.login-btn:hover {
    background-color: #3a5a47 !important;
    transform: translateY(-3px) !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    color: white !important;
}

.login-btn:active {
    transform: translateY(-1px) !important;
}

/* Google button style */
.google-btn {
    background: #fff !important;
    color: #49705b !important;
    border: 2px solid #49705b !important;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    margin-top: 0;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    margin-left: auto;
    margin-right: auto;
}
.google-btn:hover {
    border-color: #355143 !important;
    box-shadow: 0 2px 8px rgba(73,112,91,0.10);
}
.google-btn img {
    height: 22px;
    width: 22px;
    margin-right: 0.5rem;
}

.g_id_signin {
    justify-content: center;
}

.create-account {
    margin-top: 1rem;
}
/* Success Popup Styles */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Accessible focus outlines for key interactive elements */
.login-form input:focus,
.login-form button:focus,
.footer-subscribe input:focus,
.footer-subscribe button:focus {
  outline: 2px solid #49705b;
  outline-offset: 2px;
  box-shadow: none;
}

/* Inline error spacing for helper text */
.input-group .form-text {
  margin-top: 0.25rem;
}

/* Ensure success popups remain hidden when the hidden class is applied */
.success-popup.hidden {
    display: none;
}

.success-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #E6536D;
    text-align: center;
    max-width: 400px;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-message {
    color: #E6536D;
    font-family: 'Cute-Sunrise', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.success-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 120px;
    overflow: hidden; 
}

.success-image img {
    width: 200px;
    height: auto;
    transform: scale(1.2rem);
}

.success-btn {
    margin-top: 1rem;
    width: auto;
    padding: 0.8rem 2rem;
}

.reset-success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.reset-success-message p {
    margin: 0;
    font-size: 0.95rem;
}

.reset-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.success-image-centered {
    display: block;
    margin: 0 auto;
}

.success-redirect {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
}

.success-manual {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.redirect-link {
    color: #E6536D;
    text-decoration: underline;
}

.redirect-link:hover {
    color: #d63384;
}

/* CART PAGE */

.cart-main {
    min-height: calc(100vh - 200px);
    padding: 2rem;
    background: 
        linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
        url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.cart-title {
    font-family: 'Cute-Sunrise', cursive;
    color: #e6536d;
    font-size: 2.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cart-count {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: #e6536d;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(230, 83, 109, 0.4);
}

.continue-shopping {
    color: #e6536d;
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.continue-shopping:hover {
    color: #d63384;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-item-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #49705b;
    font-family: 'Poppins', sans-serif;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.item-details h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
}

.item-price {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #49705b;
    background: white;
    color: #49705b;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #49705b;
    color: white;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-total {
    text-align: center;
}

.header-total {
    text-align: center;
}

.total-price {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.cart-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-summary {
        position: static;
        top: auto;
        height: auto;
    }

    .cart-item {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: left;
    }

    .cart-item-header {
        display: none;
    }

    .item-info {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .quantity-controls {
        justify-content: flex-start;
    }

    .item-total {
        text-align: left;
    }
}

/* removed order-special*/

.estimated-total {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.estimated-total h3 {
    color: #49705b;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.final-total {
    color: #e6536d;
    font-weight: bold;
}

/* Bootstrap Toast Branding (non-invasive) */
/* Size and appearance tweaks for branded toasts */
.toast.brand-toast {
  min-width: 320px;
  max-width: 420px;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.toast.brand-toast.toast-lg {
  min-width: 380px;
  max-width: 520px;
}

/* Extra-large centered toast for key flows */
.toast.brand-toast.toast-xl {
  min-width: 520px;
  max-width: 640px;
}

.toast.brand-toast .toast-body {
  line-height: 1.5;
}

/* Readability: larger title and body for CENTERED toasts only (Sign In, Create Account, Contact) */
#toastContainerCenter .toast.brand-toast .toast-header .toast-title,
#toastContainerCenter .toast.brand-toast .toast-header strong.toast-title {
  font-size: 1.25rem; /* slightly larger than body */
  line-height: 1.35;
}

#toastContainerCenter .toast.brand-toast .toast-body {
  font-size: 1.1rem; /* increased body size for readability */
}

@media (max-width: 480px) {
  #toastContainerCenter .toast.brand-toast .toast-header .toast-title,
  #toastContainerCenter .toast.brand-toast .toast-header strong.toast-title {
    font-size: 1.15rem;
  }
  #toastContainerCenter .toast.brand-toast .toast-body {
    font-size: 1rem;
  }
}

/* Make top-right add-to-cart toast use the same readable sizes */
#toastContainerTopRight .toast.brand-toast .toast-header .toast-title,
#toastContainerTopRight .toast.brand-toast .toast-header strong.toast-title {
  font-size: 1.25rem; /* match center toast title size */
  line-height: 1.35;
}

#toastContainerTopRight .toast.brand-toast .toast-body {
  font-size: 1.1rem; /* match center toast body size */
}

@media (max-width: 480px) {
  #toastContainerTopRight .toast.brand-toast .toast-header .toast-title,
  #toastContainerTopRight .toast.brand-toast .toast-header strong.toast-title {
    font-size: 1.15rem;
  }
  #toastContainerTopRight .toast.brand-toast .toast-body {
    font-size: 1rem;
  }
}

/* Backdrop overlay to highlight toasts */
.toast-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1075;
}

.toast-backdrop.toast-backdrop--light {
  background: rgba(255, 255, 255, 0.6);
}

.toast-backdrop.toast-backdrop--blur {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
}
.bubbistix-toast-header .toast-title {
    font-family: 'Cute-Sunrise', cursive;
    color: #E6536D;
}

.checkout-btn {
    width: 100%;
    background-color: var(--leafy-green);
    color: white;
    border: none;
    padding: 1rem 1em;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.checkout-btn:hover {
    transform: none;
    background-color: #E85D75;
    box-shadow: none;
}

.checkout-btn:disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
    transform: none !important;
}

.checkout-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.remove-btn {
    color: white;
    border: none;
    padding: 6px 8px !important;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem !important;
    transition: background-color 0.3s ease;
    background-color: var(--leafy-green);
}

.remove-btn:hover {
    background-color: #521009;
    color: white;
}

/* CHECKOUT PAGE */

.checkout-main {
    background: 
        linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
        url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.checkout-left {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.checkout-right {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.checkout-section {
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #49705b;
    margin-bottom: 20px;
    text-align: left !important;
}

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

.checkout-input, .checkout-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.checkout-input:focus, .checkout-select:focus {
    outline: none;
    border-color: #f58092;
    box-shadow: 0 0 10px rgba(245, 128, 146, 0.3);
}

.checkout-select:disabled {
    background: rgba(240, 240, 240, 0.5);
    cursor: not-allowed;
}

.half-width {
    width: 100%;
}

.payment-security {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
}

.payment-method {
    margin-bottom: 30px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.payment-option.selected {
    border-color: #f58092;
    background: rgba(245, 128, 146, 0.1);
}

.credit-card-fields {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(245, 128, 146, 0.3);
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
}

/* Each half-width field gets its own column so errors stack below the input */
.card-field-wrapper {
    display: flex;
    flex-direction: column;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #f58092;
}

.payment-option label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.pay-now-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--leafy-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-now-btn:hover {
    background-color: #E85D75;
}

/* Order Summary Styles */
.order-summary {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 128, 146, 0.2);
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 10px;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-name {
    font-family: 'Cute-Sunrise', cursive;
    font-size: 1.1rem;
    color: #f58092;
    margin-bottom: 5px;
}

.item-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.item-total {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #333333;
}

.order-totals {
    border-top: 2px solid rgba(245, 128, 146, 0.2);
    padding-top: 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.final-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #49705b;
    padding-top: 10px;
    margin-top: 10px;
}


/* Shop Gallery */

.gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item-name {
    font-weight: bold;
    font-size: large;
    color: var(--primary-pink);
    margin-top: auto;
}

.category {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category h2 {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 20px;
    padding: 3rem 2rem;
}

.items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 4rem;
    text-align: center;
    align-items: stretch;
    align-content: start;
    padding: 0 10px;
}

@media (max-width: 1200px) {
    .items {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .items {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 2rem;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .items {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 2rem;
        padding: 0;
    }
}

.items > .item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.items > .item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.items > .item p {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.item img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.item_name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-pink);
    margin: 8px 0 6px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.item_price {
    font-weight: bold;
    font-size: 1rem;
    color: var(--leafy-green);
    margin: 6px 0 12px 0;
    line-height: 1.3;
    flex-grow: 1;
}

/* SHOP PAGE STYLING */

.shop-wrapper {
    display: flex;
    background: #f8f8f8; 
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    position: sticky;
    top: 0; 
    height: fit-content; 
    padding: 20px;
    background: #f8f8f8; 
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.shopsidebar-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-pink);
    font-weight: bold;
    margin-bottom: 15px;
}

.group {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    max-width: 190px;
    gap: 10px; 
    margin-bottom: 15px; 
}

.sidebar ul,
.offcanvas-body ul{
    list-style: none;
    padding: 0;
}

.sidebar ul li a,
.offcanvas-body ul li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
}

.sidebar ul li a:hover,
.offcanvas-body ul li a:hover {
    text-decoration: underline;
}

.shop-content {
    flex: 1;
    padding: 20px;
    background: white; 
    margin-top: 0;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.shop-toolbar input[type="text"],
.shop-toolbar select {
    padding: 8px;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .shop-wrapper {
        gap: 15px;
    }

    .shop-content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .shop-wrapper {
        gap: 0;
    }

    .shop-content {
        padding: 10px;
        margin-top: 0;
        flex: 1 1 100%;
    }

    .shop-toolbar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .shop-toolbar input,
    .shop-toolbar select {
        width: 100%;
    }
}

.input {
    width: 100%;
    height: 40px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 2.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    background-color: #f3f3f4;
    color: #0d0c22;
    transition: .3s ease;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.input::placeholder {
    color: #9e9ea7;
}

.input:focus, input:hover {
    outline: none;
    border-color: rgba(234,76,137,0.4);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgb(234 76 137 / 10%);
}

.sort-select {
    font-family: Outfit, sans-serif; 
    font-size: 1rem;
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f3f3f4;
    color: var(--leafy-green);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: rgba(234, 76, 137, 0.4);
    background-color: #fff;
}

.icon {
    position: absolute;
    left: 1rem;
    fill: #9e9ea7;
    width: 1rem;
    height: 1rem;
}

.product-btn {
    background-color: var(--leafy-green);
    font-family: 'Poppins', sans-serif;
    color: white;
    padding: 10px 16px;
    border: none;
    cursor: pointer;
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    line-height: 1.4;
    border-radius: 5px;
    margin-top: auto;
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.product-btn:hover {
    background-color: var(--primary-pink);
}

/* =========================================== */
/* MOBILE SIDEBAR CUSTOMIZATION (Offcanvas)    */
/* =========================================== */

.offcanvas-body {
    background: #f8f8f8 !important; 
    padding: 20px !important;
    border-right: 1px solid #ddd !important;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.offcanvas-header {
    background: #f8f8f8 !important; 
    border-bottom: 1px solid #ddd !important; 
    padding: 20px 20px 10px 20px !important; 
}

.offcanvas-title, .shopsidebar-title {
    font-family: 'Poppins' !important; 
    font-size: 1.5rem !important;
    color: var(--primary-pink) !important; 
    font-weight: bold;
}

.shopsidebar-title {
    margin-bottom: 2rem !important; 
}

.offcanvas-body h2 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
    color: var(--primary-pink) !important; 
}

.offcanvas-header .btn-close {
    filter: invert(0) !important; 
}


/* =========================================== */
/* MOBILE FILTER BUTTON STYLING                */
/* =========================================== */

/*button wrapper for the hamburger menu */
.fixed-mobile-filter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    border-radius: 50px;
}

.fixed-mobile-filter button,
.shop-toolbar button {
    background-color: var(--primary-pink) !important;
    color: white !important;
    padding: 10px 15px !important; 
    border-radius: 50px !important;
    font-weight: bold !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    border: none !important;
}

.fixed-mobile-filter button:focus {
    outline: none !important; 
    box-shadow: 0 0 0 4px rgba(245, 128, 146, 0.4) !important; 
}
/* Offpage END*/


.continue-shopping-link {
    display: inline-block;
    color: #49705b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.continue-shopping-link:hover {
    color: #5a8068;
    border-bottom-color: #5a8068;
}

.strawberry-character {
    width: 300px;
    height: 300px;
    object-fit:cover;
    animation: bounce 2s infinite;
}

/* FOOTER */

footer {
    background: var(--bubblegum-pink);
    color: white;
    padding: 2rem 1rem; 
    font-size: 0.9rem;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-subscribe p {
    margin-bottom: 0.8rem;
}

.footer-subscribe form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.footer-subscribe input {
    padding: 0.6rem;
    border: none;
    border-radius: 1.25rem;
    margin-right: 0;
    width: clamp(14rem, 70vw, 25rem);
    font-family: 'Poppins', sans-serif;
    outline: none;
    box-shadow: 0 0 0 3px var(--powder-pink, #FFC0CB);
    transition: width 0.25s ease, box-shadow 0.2s ease, margin 0.2s ease;
}

.footer-subscribe button {
    font-family: 'Poppins', sans-serif;
    padding: 0.6rem 1rem;
    border: none;
    background: #ff6fa7;
    color: #fff;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: auto;
    white-space: nowrap;
}
.footer-subscribe button:hover {
    background: var(--primary-pink);
    transform: translateY(-1px);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 1rem; 
}
.footer-nav a {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: var(--leafy-green);
}

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
}

/* ANIMATIONS AND KEYFRAMES */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Specific styles for sticker product page */

body.sticker-product-page {
    min-height: 100vh;
    position: relative;
}

body.sticker-product-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%),
        url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card {
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-image-main {
    background-color: transparent;
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.product-image-main:hover {
    transform: scale(1.02);
}

.thumbnail-container {
    display: flex;
    gap: 15px;
    justify-content: center; /* Center thumbnails */
}

.thumbnail {
    background-color: #f8f9fa;
    border-radius: 10px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    object-fit: contain;
    border: 1px solid #eee;
    transition: transform 0.2s, border-color 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: #ffb7c5;
}

.thumbnail.active {
    border: 2px solid #E85D75;
    transform: scale(1.05);
}

.product-title {
    color: #E85D75; /* Pinkish red */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.stock-info {
    color: #E85D75;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}



.btn-add-cart {
    border: 2px solid #ffb7c5;
    color: #ffb7c5;
    background: white;
    border-radius: 25px;
    padding: 10px 30px;
    width: 100%;
    margin-bottom: 15px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart:hover {
    background: #ffb7c5;
    color: white;
}

.btn-checkout {
    background: #F9F871; /* Yellow */
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    width: 100%;
    margin-bottom: 30px;
    font-weight: 600;
    color: #666;
    box-shadow: 0 4px 10px rgba(249, 248, 113, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s;
}

.btn-checkout:hover {
    background: #49705B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(73, 112, 91, 0.4);
}

.product-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.meta-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 30px;
    border-top: 1px dashed #eee;
    padding-top: 20px;
}

.reviews-section {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.reviews-header {
    color: #446940; 
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.review-stars {
    color: #ffb7c5;
    font-size: 1.2rem;
    margin-right: 10px;
}

.review-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #888;
}

.review-bar {
    height: 8px;
    background-color: #f0f0f0;
    flex-grow: 1;
    margin: 0 15px;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background-color: #ffb7c5;
}

.write-review-btn {
    border: 1px solid #ffb7c5;
    color: #E85D75;
    background: white;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 20px;
    transition: all 0.2s;
}

.write-review-btn:hover {
    background: #ffb7c5;
    color: white;
}

/* Modal Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #E85D75;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.nav-arrow:hover {
    background: white;
    color: #d14961;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* RESPONSIVE DESIGN */

@media (max-width: 991.98px) {
    .shop-content {
        padding: 20px;
    }

    /* Hamburger to X Animation - Targeting the label inside the wrapper */
    #nav-toggle:checked ~ .logo-and-toggler-wrapper .hamburger .top-bun {
        transform: rotate(-45deg);
        margin-top: 10px;
    }
    #nav-toggle:checked ~ .logo-and-toggler-wrapper .hamburger .bottom-bun {
        opacity: 0;
        transform: rotate(45deg);
    }
    #nav-toggle:checked ~ .logo-and-toggler-wrapper .hamburger .meat {
        transform: rotate(45deg);
        margin-top: -4px;
    }
    
    /* Menu Slide-In Animation - Targeting the menu content */
    #nav-toggle:checked ~ #navbarNav {
        transform: translateX(0); 
        visibility: visible;
        overflow-y: auto;
    }
    
    .container-fluid { padding: 0; }
    .logo-and-toggler-wrapper {
        background: var(--powder-pink);
        padding: 0.75rem 1rem; 
        position: sticky; top: 0; z-index: 95;
    }
    .logo { height: 60px; margin-bottom: 0; }
    .nav-links {
        flex-direction: column; padding-top: 6rem; text-align: center;
        width: 100%; gap: 0;
    }
    .nav-item { margin: 0.75rem 0; display: block !important; }
    .nav-link { padding: 0.5rem 0; display: block; }
}

/* MEDIUM SCREEN SIZE (TABLET PORTRAIT, PHONE LANDSCAPE) */
@media (max-width: 480px) {
    .container, 
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .hero {
        height: 25rem;
        background-position: center top;
        padding-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero a.squishy-btn {
        transform: translateY(40px) !important; 
    }

    .collections {
        padding: 1rem 0.25rem !important; 
        text-align: center;
    }

    .collection-card {
        width: 100%;
        max-width: none;
    }

    .collection-title, .promo-header {
        font-size: 2.5rem;
        margin-bottom: 1rem !important;
    }
    .collection-grid {
        margin-top: 1rem;
        margin-bottom: 1rem;
        grid-template-columns: 1fr; 
        max-width: 30rem; 
    }

    .promo.py-5 {
        padding: 2rem 1.5rem; 
    }

    .promo-subtitle {
        font-size: 1.75rem !important;
        text-align: center !important;
        margin-bottom: 0.25rem;
    }

    .promo-header {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .promo-container p {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .promo-container ul {
        margin-bottom: 1rem; 
        font-size: 0.9rem;
    }

    .promo-container .lead {
        font-size: 1.2rem; 
        line-height: 1.5; 
    }
    
    .promo-container p.mb-5 {
        font-size: 1rem;
        margin-bottom: 1.5rem !important; 
    }

    .team {
        padding: 2rem 1rem;
        margin: 0; 
    }

    .team-header {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .team-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }

    .team-member h3 {
        font-size: 1.1rem !important;
    }

    .team-member p {
        font-size: 0.85rem !important;
    }

    .contact {
        padding: 1.5rem 1rem;
        margin: 2rem 1rem;
        max-width: 100%;
    }

    .contact h2 {
        font-size: 2rem !important;
    }

    .contact p {
        font-size: 0.95rem !important;
    }

    .input-row {
        flex-direction: column;
        gap: 1rem;
    }

    .input-row input {
        width: 100%;
    }

    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-header {
        display: none;
    }
    
    .item-info {
        justify-content: center;
    }

    .cart-main {
        min-height: auto;
        padding: 1rem;
    }

    .cart-container {
        padding: 1rem;
    }

    .cart-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .estimated-total {
        margin-top: 1rem;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 1rem;
    }
    
    .location-dropdowns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .name-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .postal-city-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout-right {
        position: static;
        max-height: none;
        top: auto;
    }

    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        padding: 0 1rem;
    }
    
    .order-summary-section {
        position: static;
    }
    
    /* Order Confirmation Mobile Styles */
    .checkout-main {
        padding: 0 !important;
        margin: 0 !important;
        background: 
            linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
            url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        width: 100%;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px;
        margin: 0;
        width: 100%;
    }
    
    .checkout-left, .checkout-right {
        position: static;
        margin: 0 0 5px 0;
        padding: 10px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .delivery-section {
        max-width: 100% !important;
        margin: 0 0 5px 0 !important;
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }
    
    .order-summary {
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Ensure no white spaces between sections */
    .thank-you-section, .delivery-section, .payment-section {
        margin: 0 0 5px 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
    }
    
    .order-summary {
        margin: 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
    }

    .checkout-left, .checkout-right {
        position: static;
        margin-bottom: 20px;
    }
    
    .thank-you-section {
        text-align: center;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .confirmation-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .strawberry-character {
        max-width: 150px;
        height: auto;
    }
    
    .delivery-section, .payment-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
        font-weight: 600;
        font-size: 0.9rem;
        text-align: left !important;
    }
    
    .info-row {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 8px;
    }
    
    .info-row span {
        text-align: left !important;
    }
    
.order-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#orderItems {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    margin-bottom: 15px;
}

.order-totals {
    flex-shrink: 0;
    margin-top: auto;
}
    
    .order-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
    }
    
    .item-details {
        flex: 1;
        min-width: 0;
    }
    
    .item-name {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .item-quantity, .item-price-per {
        font-size: 0.8rem;
        margin-bottom: 1px;
    }
    
    .item-total {
        font-weight: bold;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .order-totals {
        margin-top: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }
    
    .total-line {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .final-total {
        font-weight: bold;
        font-size: 1.1rem;
        border-top: 1px solid #eee;
        padding-top: 8px;
        margin-top: 8px;
    }
    
    .continue-shopping-link {
        display: block;
        text-align: center;
        padding: 1rem;
        background: var(--primary-pink);
        color: white;
        text-decoration: none;
        border-radius: 10px;
        margin-top: 1rem;
        font-weight: 600;
    }
    
    .estimated-delivery {
        margin-top: 15px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        text-align: center;
    }
    
    .delivery-estimate {
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Payment method mobile styles */
    .payment-option {
        margin-bottom: 0.5rem;
    }
    
    .credit-card-fields {
        margin-top: 1rem;
    }
    
    .card-details {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-details .half-width {
        width: 100%;
    }
    
    /* COD info mobile styles */
    .cash-on-delivery-info {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
    }
    
    .cod-note, .cod-warning {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .warning-icon {
        margin-right: 0.5rem;
    }
    
    /* Pay Now button mobile styles */
.pay-now-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.pay-now-btn:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
}
}   

@media (min-width: 992px) {
    .navbar {
        background: var(--powder-pink) !important;
        padding: 1rem 0;
    }
    
    .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-and-toggler-wrapper {
        display: flex !important;
        align-items: center;
        margin-right: 2rem;
    }
    
    .logo {
        height: 80px;
        margin-bottom: 0;
    }
    
    .hamburger {
        display: none !important;
    }
    
    #navbarNav {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        height: auto !important;
        width: auto !important;
        padding: 0;
        margin: 0;
        flex: 1;
    }
    
    .nav-links {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex !important;
    }
    
    .nav-item {
        display: inline-block !important;
        margin: 0;
    }
    
    .nav-link {
        color: var(--primary-pink) !important;
        font-weight: 600;
        padding: 0.5rem 1rem;
        display: inline-block;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 1.5rem;
    }
    
    .nav-link:hover {
        color: var(--leafy-green) !important;
    }
    
    .nav-link.active {
        color: var(--leafy-green) !important;
    }
    
    .nav-icon {
        width: 30px !important;
        height: 30px !important;
        transition: transform 0.3s ease;
    }
    
    .nav-icon:hover {
        transform: scale(1.1);
    }
}

/* Max Width 320px (Smallest Phones) */
@media (max-width: 320px) {
    .container, 
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        width: 100%;
    }
    
    .hero {
        height: 15rem;
        background-position: center top;
        padding-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero a.squishy-btn {
        transform: translateY(47px) !important; 
    }

    .collections {
        padding: 1rem 0.25rem !important; 
        text-align: center;
    }
    .collection-title {
        text-align: center !important;
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
        letter-spacing: 1px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .collection-grid {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .collection-card {
        padding: 1.5rem;
    }

    .promo.py-5 {
        padding: 2rem 1rem; 
    }

    .promo-header {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .promo-subtitle, .team-subtitle {
        font-size: 1.75rem !important;
        margin-bottom: 0.25rem;
        text-align: center !important;
    }

    .promo-container p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .promo-container ul {
        margin-bottom: 1rem; 
        font-size: 0.75rem;
    }

    .promo-container .lead {
        font-size: 0.9rem; 
        line-height: 1.4; 
    }

    .promo-container .lead.mb-3 {
        margin-bottom: 0.5rem !important; 
    }
    
    .promo-container p.mb-5 {
        margin-bottom: 1.5rem !important; 
    }

    .checkout-main {
        padding: 0 !important;
        margin: 0 !important;
        background: 
            linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
            url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        width: 100%;
    }
    
    .checkout-container {
        gap: 3px;
        padding: 8px;
        margin: 0;
        width: 100%;
    }
    
    .checkout-left, .checkout-right {
        padding: 8px;
        margin: 0 0 3px 0;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .delivery-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 3px 0 !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .order-summary {
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .thank-you-section, .delivery-section, .payment-section, .order-summary {
        margin: 0 0 3px 0;
        padding: 8px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        text-align: left !important;
    }
    
    .confirmation-title, .section-title, .delivery-section h2, .payment-section h2, .order-summary h3 {
        text-align: left !important;
    }
    
    .info-label {
        text-align: left !important;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .info-row {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 8px;
    }
    
    .info-row span {
        text-align: left !important;
    }
    
    .checkout-input, .checkout-select {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .confirmation-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem;
    }
    
    .strawberry-character {
        max-width: 120px;
    }
    
    .thank-you-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .delivery-section, .payment-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .order-item {
        padding: 8px;
        margin-bottom: 8px;
        flex-direction: row;
        align-items: center;
    }
    
    .item-name {
        font-size: 0.8rem;
    }
    
    .item-quantity, .item-price-per {
        font-size: 0.7rem;
    }
    
    .item-total {
        font-size: 0.8rem;
    }
    
    .order-totals {
        padding: 10px;
        margin-top: 10px;
    }
    
    .total-line {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .final-total {
        font-size: 1rem;
    }
    
    .continue-shopping-link {
        padding: 0.8rem;
        font-size: 0.9rem;
        margin-top: 0.8rem;
    }
    
    .pay-now-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .estimated-delivery {
        padding: 8px;
        margin-top: 10px;
    }
    
    .delivery-estimate {
        font-size: 0.8rem;
    }
    
    .checkout-left > *:not(:last-child) {
        margin-bottom: 5px;
    }
    
    .checkout-right > *:not(:last-child) {
        margin-bottom: 5px;
    }
    
    .checkout-main {
        margin: 0 !important;
        padding: 0 !important;
        background: 
            linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
            url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png') !important;
        background-size: cover !important;
        background-position: center !important;
        min-height: 100vh !important;
        width: 100% !important;
    }
    
    .checkout-container {
        margin: 0 !important;
        padding: 3px !important;
        gap: 3px !important;
        width: 100% !important;
    }
    
    .checkout-left, .checkout-right {
        margin: 0 0 3px 0 !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .thank-you-section, .delivery-section, .payment-section, .order-summary {
        margin: 0 0 3px 0 !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
    }
    
    body {
        background: 
            linear-gradient(135deg, rgba(245, 128, 146, 0.7) 0%, rgba(252, 228, 236, 0.7) 100%),
            url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: fixed !important;
    }
    .team, .promo {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        padding-top: 2rem; 
        padding-bottom: 2rem;
    }
}

/* Min Width 992px (Desktop Layout) */
@media (min-width: 992px) {
    .container-fluid {
        flex-direction: column !important; 
        align-items: center !important; 
        padding: 2rem 1rem; 
    }
    .logo { height: 120px; margin-bottom: 1rem; }
    .logo-and-toggler-wrapper { display: block !important; text-align: center; width: auto !important; }
    
    #navbarNav {
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        height: auto !important;
        background: none !important;
        z-index: initial !important;
        padding: 0; margin: 0;
    }
    .nav-links { flex-direction: row !important; justify-content: center !important; }
    
    .team {
        padding: 3rem 6rem;
    }

    .shop-wrapper {
        display: flex; 
    }
}

/* Min Width 48rem (Tablet Landscape and Larger) */
@media (min-width: 48rem) {
    footer {
        padding: 3rem 6rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        text-align: left; 
    }
    
    .footer-subscribe form {
        flex-direction: row; 
        justify-content: flex-start;
        align-items: center; 
        gap: initial;
    }
    
    .footer-subscribe input {
        margin-right: 0.5rem;
        width: 25rem;
    }

    .footer-nav ul {
        justify-content: center; 
        gap: 1.5rem;
    }

    .footer-copy {
        text-align: right;
    }
}

@media (max-width: 575px) {
    .delivery-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 3px 0 !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .order-summary {
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 12px !important;
    }
    
    .section-title {
        text-align: left !important;
        margin-bottom: 8px !important;
    }
    
    .confirmation-title, .section-title, .delivery-section h2, .payment-section h2, .order-summary h3 {
        text-align: left !important;
    }
    
    .info-label {
        text-align: left !important;
        font-weight: 600;
        font-size: 0.8rem;
    }
    
    .info-row {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 6px;
    }
    
    .info-row span {
        text-align: left !important;
    }
    
    .checkout-main {
        background: 
            linear-gradient(135deg, rgba(245, 128, 146, 0.8) 0%, rgba(252, 228, 236, 0.8) 100%) !important;
        background-attachment: fixed !important;
        min-height: 100vh !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .checkout-container {
        padding: 8px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .thank-you-section, .payment-section {
        margin: 0 0 3px 0 !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .delivery-section .info-label,
    .payment-section .info-label,
    .delivery-section .info-row,
    .payment-section .info-row,
    .delivery-section .info-row span,
    .payment-section .info-row span {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .delivery-section .info-row,
    .payment-section .info-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    .delivery-section .info-label,
    .payment-section .info-label {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
        margin-bottom: 2px !important;
    }
}

@media (max-width: 575px) {
    .info-label,
    .info-row,
    .info-row span,
    .delivery-info .info-label,
    .delivery-info .info-row,
    .delivery-info .info-row span,
    .payment-info .info-label,
    .payment-info .info-row,
    .payment-info .info-row span {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .info-row,
    .delivery-info .info-row,
    .payment-info .info-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }
}
/* Checkout confirmation modal: align with other popups (font, spacing, colors) */
.brand-modal {
  border: 2px solid #E6536D;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand-modal .modal-header {
  border-bottom: 1px solid #eee;
}

.brand-modal .modal-title {
  color: #E6536D;
  font-family: 'Cute-Sunrise', cursive;
  font-size: 1.25rem;
}

.brand-modal .modal-body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #333;
}

.brand-modal .modal-footer {
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem; /* comfortable spacing between buttons */
  flex-wrap: nowrap; /* keep buttons on one line */
}

.brand-modal .modal-footer .btn {
  min-width: 160px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap; /* prevent wrapping, e.g., "Confirm & Pay" */
  flex: 0 0 auto;
}

/* Brand button colors for modal actions */
.brand-modal .btn-success {
  background-color: #49705B;
  border-color: #49705B;
}
.brand-modal .btn-success:hover {
  background-color: #3e5f4f;
  border-color: #3e5f4f;
}

.brand-modal .btn-danger {
  background-color: #E6536D;
  border-color: #E6536D;
}
.brand-modal .btn-danger:hover {
  background-color: #d64760;
  border-color: #d64760;
}

/* Subtle blur backdrop to match other popups */
.modal-backdrop.show {
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.25);
}

/* =========================================
   Footer Layout Updates
   ========================================= */
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
    min-height: 80px;
}

.footer-nav {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

/* Lower navigation bar in the middle */
.footer-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin: 0;
}

/* Copyright on the lower right */
.footer-copy {
    position: absolute;
    bottom: 0;
    right: 2rem;
    margin: 0;
    width: auto;
}

.footer-copy p {
    margin-bottom: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .footer-copy {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }
}

/* --- PURCHASE PAGE STYLES --- */

.purchase-page {
    background: transparent !important;
    position: relative;
    min-height: 100vh;
}

.purchase-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        linear-gradient(rgba(252, 228, 236, 0.7) 100%),
        url('https://bubbistix-storage.s3.ap-southeast-1.amazonaws.com/assets/background-signup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.account-sidebar-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    position: sticky;
    top: 40px;
    height: fit-content;
}

@media (max-width: 991.98px) {
    .account-sidebar-card {
        padding: 30px 20px;
        position: static;
        top: auto;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .account-sidebar-card {
        padding: 20px;
        margin-bottom: 1.5rem;
    }
}

.account-label {
    font-family: 'Sugar-Flare' !important;
    font-size: 2rem !important;
    color: var(--primary-pink);
}

.avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: fit-content;
}

.avatar-frame img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.avatar-pencil-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #5b7c61;
    border: 2px solid white;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
}

.avatar-pencil-btn:hover { transform: scale(1.1); color: var(--leafy-green); }

.user-name-text { font-family: 'Cute-Sunrise' !important; font-size: clamp(1.5rem, 4vw, 2.5rem) !important; margin-bottom: 0; word-break: break-word; }

.user-email-text { font-family: 'Poppins'; font-size: clamp(0.75rem, 2.5vw, 0.9rem); color: #888; word-break: break-word; }

.purchase-title { 
    font-family: 'Sugar-Flare' !important; 
    color: var(--leafy-green) !important; 
    text-align: left;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin: 0 0 1rem 0;
}

.purchase-subtitle { 
    font-family: 'Outfit'; 
    color: var(--leafy-green); 
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin: 0;
}

@media (max-width: 480px) {
    .purchase-title {
        font-size: 1.6rem !important;
        text-align: center;
    }

    .purchase-subtitle {
        font-size: 1rem !important;
        text-align: center;
    }
}

.avatar-modal-content {
    border-radius: 30px;
    background-color: #fffafb;
    border: 5px solid var(--powder-pink);
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

.avatar-option {
    width: 100%;
    cursor: pointer;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: 0.3s ease;
}

.avatar-option:hover {
    transform: scale(1.05);
    border-color: var(--primary-pink);
    background-color: var(--powder-pink);
}

.font-sugar { font-family: 'Sugar-Flare', sans-serif !important; color: var(--primary-pink); }

/* --- STICKER CARD LAYOUT FIX --- */

.sticker-purchase-card {
    background: white;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sticker-details-left { display: flex; align-items: center; }

.sticker-icon-bg {
    background: var(--powder-pink);
    border-radius: 10px;
    margin-right: 15px;
}

.sticker-icon-bg img { width: 60px; height: 60px; border-radius: 10px; object-fit: contain; }

.sticker-actions-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    justify-content: center;
    gap: 10px;
    flex-basis: 180px; 
    min-width: 180px;
}
.status-badge-custom {
    display: inline-block;
    font-size: 0.7rem;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap; 
}

.status-badge-custom.processing { 
    background: #FFF9C4 !important; 
    color: #856404 !important; 
}

.status-badge-custom.ready-badge { 
    background: #C8E6C9 !important; 
    color: #155724 !important; 
}

.download-btn-locked, .download-btn-ready {
    width: 100%; 
    min-height: 45px; 
    padding: 8px 12px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

.download-btn-locked {
    background: #eeeeee !important;
    color: #bbbbbb !important;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn-ready {
    background: var(--leafy-green) !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.download-btn-ready:hover {
    background: var(--primary-pink) !important;
    transform: scale(1.02);
}

/* Responsive adjustments for sticker cards */
@media (max-width: 768px) {
    .sticker-purchase-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sticker-details-left {
        width: 100%;
    }

    .sticker-actions-right {
        width: 100%;
        flex-basis: auto;
        min-width: auto;
        align-items: stretch;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .status-badge-custom {
        order: 1;
    }

    .download-btn-locked,
    .download-btn-ready {
        width: auto;
        flex: 1;
        order: 2;
    }
}

@media (max-width: 480px) {
    .sticker-purchase-card {
        padding: 15px;
        gap: 12px;
    }

    .sticker-icon-bg {
        margin-right: 12px;
    }

    .sticker-icon-bg img {
        width: 50px;
        height: 50px;
    }

    .sticker-actions-right {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .status-badge-custom {
        text-align: center;
        width: 100%;
        order: 1;
    }

    .download-btn-locked,
    .download-btn-ready {
        width: 100%;
        order: 2;
    }

    .sticker-text h4 {
        font-size: 1rem;
    }

    .sticker-text small {
        font-size: 0.75rem;
    }
}

