

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

@media (max-width: 768px) {
    .cart-img-sm {
      max-width: 90px;
      height: auto;
    }
  }

.cart-page .card {
    border-radius: 1.5rem; /* Or whatever radius you want */
  }

.content-area {
    flex: 1 0 auto;
    min-height: 0;
}

.checkout .container {
    padding: 100px;
    max-width: 100%;
}


.checkout-section {
    border-radius: 1.5rem;
    padding: 2rem 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.button-row {
    display: flex;
    gap: 1rem; /* Adjust as needed */
}


@media (max-width: 576px) {
    .checkout-section {
        padding: 1rem 1.25rem; /* Less padding on mobile */
    }

    .checkout .container {
        padding: 40px 15px;
    }
}

.dashboard-section .container {
    padding: 20px;
    max-width: 100%;
}

.custom-rounded-box {
    border-radius: 16px; /* or 20px, etc. */
    padding: 30px 40px;
}

.form-group .form-control {
    width: 100%;
}

.button-blue {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

.button-blue:hover {
    background-color: #0069d9 !important;
    border-color: #0062cc !important;
    color: #fff !important;
}

.button-grey {
    background-color: rgb(52, 58, 64)!important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.text-dark {
    color: #000000 !important;
}

/* Remove background from the button */
.navbar-toggler {
    background: transparent !important;
    border: none;
    box-shadow: none;
}

/* Style only the bars (span elements) */
.navbar-toggler .toggler-icon span {
    width: 20px;
    height: 3px;
    background: white; /* default color at top */
    display: block;
    margin: 4px 0;
    transition: background 0.3s ease;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler.active {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
}



.button-grey:hover {
    background-color: rgb(52, 58, 64) !important;
    border-color: #545b62 !important;
    color: #fff !important;
}

.checkout-section .form-control {
    display: block;
    width: 100%;
}
#address-selector.form-control {
    height: auto ;
    min-height: 38px;
    padding: 0.375rem 0.75rem;
}

label[for="address-selector"] {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}


.account-sidebar .list-group-item {
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-edit-link:hover {
    color: #007bff; /* or any highlight color */
    cursor: pointer;
}
.fixed-scroll-card {
    height: 450px; /* Set your desired fixed height */
    overflow-y: auto;
    overflow-x: hidden;
}

.welcome-heading {
    font-size: 6rem;  font-weight: 800;
    color: #1d3557;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

a {
    color: #e63946;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.form-container {
    padding-top: 24px;
    padding-bottom: 55px;
    padding-left: 39px;
    padding-right: 32px;

    margin-top: 0;
    margin-bottom: 16px;
    margin-left: 10px;
    margin-right: 10px;

    background-color: #FFFFFF;
    width: 100%;
    border: 1px solid #E7E8F1;
    border-radius: 36px;
    position: relative;

    box-shadow: 0px 8px 18px rgba(31, 37, 89, 0.05);
}

/* Header */
header {
    background-color: #1d3557;
    color: white;
    padding: 20px 0;
}

.text-black {
    color: black !important;
}

.text-white {
    color: white !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: #e63946;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-weight: 520;
}


/* Hero section */
.hero {
    background-image: url(../img/gym.webp);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    min-height: 80vh;

    position: relative; /* Needed for the overlay to position itself */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 20px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* black with 50% opacity */

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
}


.hero h1 {
    color: white;
    font-weight: bold;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* .btn {
    all: unset;
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.3s;
} */

.btn:hover {
    background-color: #c1121f;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: #1d3557;
}

/* Features section */
.features {
    padding: 80px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    justify-content: center;    /* horizontal center */
    align-items: center;        /* vertical center */
    flex-direction: column;     /* stack items vertically */
}

.section-title {
    color: black;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    text-align: center
}

/* .section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e63946;
} */

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: #e63946;
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Products section */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    display: flex;
    flex-direction: row;              /* enables flex layout */
    align-items: center;              /* vertically center text */
    justify-content: center;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.filter-btn:hover {
    background-color: #e63946;
    color: #fff;
    border-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: #e63946;
    color: #fff;
    border-color: #e63946;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.product-image {
    height: 200px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* default to clickable */
}

.product-card button,
.product-card a.btn {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.product-card:hover .product-name {
    color: #007bff; /* Bootstrap primary blue or any shade you prefer */
    transition: color 0.3s ease;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.product-info .btn {
    align-self: start; /* or center if you want it centered */
    width: auto;
    margin-top: auto; /* pushes it to bottom if you want */
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-price {
    color: #e63946;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-description {
    margin-bottom: auto;
    color: #666;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #a8dadc;
    color: #1d3557;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-tag.business {
    background-color: #457b9d;
    color: white;
}

@media (max-width: 768px) {
    .products-grid {
        gap: 20px;
        padding: 0 10px;
    }

    .product-card {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: 0 !important; /* override desktop min-width */
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-price {
        font-size: 18px;
    }

    .product-description {
        font-size: 13px;
    }

    .product-tag {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .product-info .btn {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: 0 !important; /* override desktop min-width */
    }
    .product-image {
        height: 150px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-description {
        display: none; /* Optional: hide descriptions to reduce vertical scroll */
    }

    .product-info .btn {
        width: 100%;
        text-align: center;
    }
}
.recaptcha-submit-wrapper {
    margin-top: 20px;
}


@media (max-width: 768px) {
    .recaptcha-submit-wrapper {
        flex-direction: column !important;
        align-items: stretch;
    }

    .recaptcha-box,
    .submit-button-box {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .submit-button-box button {
        width: auto;
        max-width: 100%;
    }
}

/* Lead form section */
.lead-form-section {
    padding: 80px 0;
    background-color: #1d3557;
}

.lead-form-container {
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
}

.lead-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-container {
    display: flex;
    align-items: center;
}

.radio-container input {
    margin-right: 8px;
}

.form-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.services {
    padding: 80px 0;
    background-color: #ebebeb99;
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 3rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.image-container {
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px; /* slightly less than container to give a 'padding' feel */
}

.card-body .mb-3 {
    margin-bottom: 1.5rem !important; /* space below the icon */
}

.card-title {
    margin-bottom: 1rem;
}

.card-text {
    line-height: 1.6;
}


/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #ebebeb99;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card:before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: #e6394620;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    margin-left: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
}

/* Footer */
footer {
    background-color: #1d3557;
    color: white;
    padding: 60px 0 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #333;
    text-align: center;
    line-height: 100px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e63946;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #000000;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info p:before {
    content: "•";
    margin-right: 10px;
    color: #e63946;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #457b9d;
    font-size: 14px;
    color: #a8dadc;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    /* .btn {
        margin-top: auto;
        display: block;
        width: 100%;
        margin-bottom: 15px;
    } */

    /* .btn-outline {
        margin-left: 0;
    } */

    .feature-box {
        min-width: 100%;
    }

    .product-card {
        min-width: 100%;
    }
}

.cake-button {
    background-color: #9b4dca; /* default Cake purple, override this as needed */
    border: 0.1rem solid #9b4dca;
    border-radius: 0.4rem;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700 !important;
    height: 3.8rem;
    letter-spacing: 0.1rem;
    line-height: 3.8rem;
    padding: 0 1.2rem !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 1rem;
    margin-right: 10px;
    width: 40px;
}

.cake-button:hover {
    opacity: 0.85;
    text-decoration: none;
}

.error-message {
    color: #dc3545; /* Bootstrap red */
}
