/*MOBIL*/
@media (min-width: 320px) and (max-width:480px){
    .header-content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .customer-page .header-content .logo {
        display: flex;
        width: auto;
        justify-content: center;
    }

    .customer-page .header-content .logo img {
        margin: 0 auto;
        max-width: 120px;
        width: 100%; 
        height: auto;
    }

    .customer-page .header-content {
        justify-content: center !important;
    }
    
    .logo{
        max-width: 120px;
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin: 0.4rem 0;
    }

    .nav-item {
        padding: 0.4rem 0.4rem;
        font-size: 1rem !important;
        white-space: nowrap;
    }

    .page-header {
        padding-top: 1.1rem;
        margin-top: 2.1rem !important;
    }

    .page-header h1{
        margin-top: 2.1rem !important;
    }

    .hero {
        padding: 14rem 0 3.9rem 0 !important;
    }
    
    .hero-content h2 {
        font-size: 1.4rem !important;
    }
    
    .hero-content p {
        font-size: 0.9rem !important;
    }
    
    .btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.7rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }

    .about-section{
        padding: 2rem 0rem;
    }

    .about-content img{
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        height: auto !important;
        display: block;
    }

    .about-content{
        gap: 1rem !important;
        flex-direction: column !important;
    }

    .about-content p{
        width: 100%;
        padding: 0 rem;
        font-size:0.9;
    }

    /*footer section*/
    .footer-section {
        padding-top: 1.7rem;
        padding-bottom: 1rem;
    }
    
    .footer-section .container {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1.6rem;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
    }
    
    .footer-section .contact-us, .footer-section .socials-section, .footer-section .visit-us{
        width: 100%;
        text-align: center;
        margin: 0 !important;
        max-width: 250px;
        flex: none;
    }
    
    .footer-sub-header p {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-section i {
        font-size: 0.7rem;
        margin-right: 0.2rem;
    }
    
    .footer-section p {
        justify-content: center;
        font-size: 0.8rem;
        margin: 0.8rem 0;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin: 0 0 1.1rem 0 !important;
        text-align: center;
    }
    
    .socials-section .socials {
        justify-content: center;
        margin: 1rem 0 0 0 !important;
        gap: 1.45rem;
    }
    
    .footer-section .copyrights {
        font-size: 0.7rem;
        margin-top: 1.45rem;
        text-align: center;
        width: 100%;
    }

    /*menu*/
    .menu-section {
        padding: 2rem 0;
    }

    .menu-category {
        margin-bottom: 2rem;
    }

    .menu-items {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        padding: 0.5rem 0;
    }

    .menu-item {
        margin-bottom: 0;
        width: 100%;
        border-radius: 12px;
    }

    .menu-item img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin-top: 10px;
    }

    .btn-add-to-cart {
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
    }

    .item-content {
        padding: 0.5rem;
    }

    .item-content h4 {
        font-size: 1rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .item-content p {
        font-size: 0.7rem !important;
        min-height: 30px !important;
        margin-bottom: 0.3rem;
        line-height: 1.4;
    }

    .item-footer {
        margin-top: 0.2rem;
        padding-top: 0.3rem;
    }

    .price {
        font-size: 0.7rem;
    }

    .sold-out-label {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    /*=============================================================*/
    /*========================== LOGIN PAGE =======================*/
    .login-container {
        flex-direction: column;
        gap: 1.4rem;
        padding: 1rem;
    }
    
    .role {
        max-width: 100%;
        padding: 1.1rem;
    }
    
    .role h3 {
        font-size: 1.4rem;
    }
    
    .customer-new h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .input-container input {
        padding: 0.7rem 1rem;
    }
    
    .forgot-pass-link {
        text-align: center;
    }
    
    .popup-style {
        padding: 23px 20px;
        max-width: 90%;
    }
    
    .popup-titel {
        font-size: 1.4rem;
    }
    
    .popup-style p {
        font-size: 1rem;
    }
    /*=============================================================*/
    /*========================== RESET PAGE =======================*/
    .reset-password-page {
        padding: 1rem;
        min-height: calc(100vh - 150px);
    }
    
    .reset-password-page .popup-style {
        padding: 1.7rem 1.1rem;
        max-width: 100%;
    }
    
    .reset-password-page .popup-titel {
        font-size: 1.5rem;
    }
    
    .reset-password-page p {
        font-size: 1rem;
        margin-bottom: 1.4rem;
    }
    
    .reset-password-page .popup-input {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 1.1rem;
    }
    
    #matchPasswordMsg, #missingInfoMsg {
        font-size: 0.8rem !important;
    }

    /*=============================================================*/
    /*========================== CART PAGE =======================*/
    .cart-page {
        padding: 1rem 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        margin: 2rem 0;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cart-item h3 {
        font-size: 1.1rem;
    }
    
    .cart-item p {
        font-size: 0.85rem;
    }
    
    .cart-item-controls {
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 0.55rem;
        flex-direction: row !important;
    }
    
    .quantity-control {
        width: auto;
        padding: 0.3rem;
    }
    
    .qty-btn {
        width: 27.5px;
        height: 27.5px;
        font-size: 0.75rem;
    }
    
    .quantity {
        font-size: 1rem;
        min-width: 30px;
    }
    
    .item-subtotal {
        width: auto;
        gap: 0.45rem;
    }
    
    .item-subtotal span {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
    
    .remove-btn {
        width: 27.5px;
        height: 27.5px;
    }
    
    .cart-summary {
        width: 100%;
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .cart-total {
        text-align: center;
    }
    
    .cart-total span {
        font-size: 1.6rem;
    }

    .cart-total h3 {
        font-size: 1.1rem;
    }
    
    #checkout-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .empty-cart i {
        font-size: 2.5rem;
    }
    
    .empty-cart p {
        font-size: 1.2rem;
    }

    /*=============================================================*/
    /*========================== PAYMENT PAGE =======================*/
    .payment-section {
        padding: 1rem 0 2rem 0;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
        margin: 2rem 0;
    }
    
    .payment-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    /* Order box */
    .payment-order-box {
        padding: 1.1rem;
    }
    
    .payment-order-box h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .payment-order-item {
        padding: 0.5rem 0;
    }
    
    .payment-item-name {
        font-size: 0.8rem;
    }
    
    .payment-item-qty {
        font-size: 0.83rem;
        padding: 0.2rem 0.4rem;
    }
    
    .payment-item-price {
        font-size: 0.8rem;
    }
    
    .payment-total-box {
        padding: 1rem;
    }
    
    .payment-row {
        font-size: 0.8rem;
    }
    
    .payment-final {
        font-size: 1rem;
    }
    
    /* Payment method box */
    .payment-method-box {
        padding: 1.1rem;
    }
    
    .payment-method-box h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .checkout-methods {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.1rem;
    }
    
    .payment-option-content {
        padding: 0.7rem;
    }
    
    .payment-option-content i {
        font-size: 1.3rem;
    }
    
    .payment-option-content span {
        font-size: 0.8rem;
    }
    
    /* Card details */
    .card-details-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .card-details-box h3 {
        font-size: 1.1rem;
    }
    
    .payment-input, .payment-input-half {
        padding: 0.6rem 0.8rem;
        margin: 0.4rem 0;
        font-size: 0.8rem;
    }
    
    .payment-row-fields {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-input-half {
        width: 100%;
    }
    
    /* Discount
    .discount-input {
        margin: 1rem 0;
    }
    
    .discount-input label {
        font-size: 0.9rem;
    }
    
    .discount-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .discount-row input {
        width: 100%;
        padding: 0.6rem;
    }
    
    .discount-row button {
        width: 100%;
    } */
    
    #place-order-btn {
        margin-top: 1rem;
    }

    /*=============================================================*/
    /*=================== ORDER CONFIRMATION PAGE ==================*/
    .order-confirmation-page {
        padding: 2.5rem 0 1rem 0;
        min-height: 70vh;
    }
    
    .confirmation-box {
        max-width: 95%;
        padding: 1.4rem 1rem 1rem 1rem;
        margin: 4rem auto 1 auto;
    }
    
    .fa-solid.fa-circle-check.fa-beat-fade {
        font-size: 2.8rem;
        margin: 0.5rem auto 1rem auto;
    }
    
    .page-header h1 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1.4rem;
    }
    
    .order-id-section {
        padding-bottom: 1rem;
    }
    
    .order-id-section h2 {
        font-size: 1rem;
    }
    
    .order-id-display {
        font-size: 1.2rem !important;
        margin-top: 0.3rem;
    }
    
    .cancel-section {
        margin-top: 0.5rem;
        padding: 1rem 0 0.5rem;
    }
    
    .cancel-section h3 {
        font-size: 1rem;
        margin: 0.4rem 0;
    }
    
    .cancel-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #countdown-timer {
        font-size: 1.25rem;
    }
    
    #cancel-order-btn {
        min-width: 180px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .cancel-message {
        padding: 1rem;
        margin-top: 0.7rem;
    }
    
    .cancel-message p {
        font-size: 1rem;
    }
    
    .cancel-message i {
        font-size: 1.7rem;
    }
    /*=============================================================*/
    /*======================== PROFILE PAGE =======================*/
    .profile-page {
        padding: 1rem 0;
        margin-bottom: 2.9rem;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
        margin: 2rem 0;
    }
    
    .account-section {
        padding: 1.1rem;
        margin-bottom: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-container form {
        gap: 0.8rem;
    }
    
    .form-container input {
        height: 2.7rem;
        border-radius: 15px;
        padding: 0 1rem;
        font-size: 0.85rem;
    }
    
    .form-container button {
        width: 100%;
        font-size: 0.85rem !important;
        margin-top: 0.5rem;
        padding: 0.75rem !important;
    }
    
    .msgFillAll, .msgShort, .msgMatch {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
    
    .discount-card {
        padding: 0.6rem !important;
        gap: 0.25rem;
    }

    #discounts-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .discount-expiry {
        margin-bottom: 0.15rem;
    }
    
    .discount-card .btn {
        margin-top: 0.17rem;
        padding: 0.25rem !important;
        font-size: 0.7rem !important;
    }

    #delete-acc-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .delete-account {
        padding: 1.15rem;
    }
    /*===============================================================*/
    /*========================= MY ORDERS PAGE ======================*/
    .orders-page {
        padding: 0.9rem 0 2rem 0;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
        margin: 1.9rem 0;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.9rem;
    }
    
    /* Order boxes (horizontell scroll på mobil) */
    #current-order-box, #order-history-box {
        grid-auto-columns: 240px;
        gap: 0.8rem;
        width: calc(100% + 1rem);
        padding: 0.45rem 0.45rem 1.1rem;
        margin: 0 -0.5rem;
    }
    
    .order-card {
        max-width: 240px;
        background: #a1887f;
        border-radius: 20px;
        box-shadow: 0 4px 9px rgba(138, 106, 96, 0.08);
        padding: 0.7rem;
        margin-bottom: 0;
    }
    
    .order-header span:last-child em {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .order-header {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .order-body {
        font-size: 0.9rem !important;
    }

    .order-body li {
        font-size: 0.7rem !important;
        margin-bottom: 0.2rem;
        line-height: 1.4;
    }
    
    .order-body ul {
        margin: 0.35rem 0 0.35rem 0.75rem;
    }
    
    .order-total {
        font-size: 0.8rem;
        margin-top: 0.31rem;
        padding-top: 0.31rem;
    }

    .order-box p {
        text-align: center;
        color: #8b6b61;
        padding: 2rem;
        width: 100%;
    }
    /*==================================================================*/
    /*======================= ORDER MANAGEMENT PAGE ====================*/
    .order-manage-page {
        padding-top: 1rem;
        padding-bottom: 1.9rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        margin: 2.1rem 0;
    }
    
    #orders-list {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .order-card {
        padding: 1.1rem;
        max-width: 100%;
        font-size: 0.8rem;
        width: 100%;
        background-color:#faf7f2 !important;
    }
    
    .order-header {
        flex-direction: row;
        padding-bottom: 0.5rem;
        align-items: center;
        margin-bottom: 0.85rem;
    }
    
    .order-title {
        font-size: 1rem;
    }
    
    .order-actions {
        gap: 0.4rem;
        margin-left: 0rem;
    }
    
    .order-actions .btn {
        padding: 0.45rem 0.65rem !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .order-actions select {
        max-width: 85px;
        border-radius: 10px;
        padding: 0.45rem;
        font-size: 0.75rem;
    }
    
    .order-details {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .order-details strong {
        font-size: 1rem;
    }

    .order-details p {
        margin: 0.3rem 0;
    }

    /*==================================================================*/
    /*======================= MENU MANAGEMENT PAGE ====================*/
    .menu-manage-page {
        padding-top: 1rem;
        padding-bottom:3rem;
    }

    .section-header h2 {
        margin-bottom: 1.1rem;
        font-size: 1.3rem;
    }

    .drinks-manage, .desserts-manage {
        margin-bottom: 2.4rem;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
        margin: 2rem 0;
    }
    
    .menu-item-row {
        padding: 1.1rem;
    }
    
    .fields-row {
        margin-bottom: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .fields-row input,
    .fields-row textarea {
        font-size: 0.8rem;
        padding: 0.6rem;
        border-radius: 10px;
    }
    
    .field-name,
    .field-image,
    .field-description,
    .field-price,
    .field-stock {
        width: 100% !important;
    }
    
    .item-actions {
        margin-top: 0.65rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .item-actions .btn {
        width: 100%;
        font-size: 0.95rem !important;
        padding: 0.75rem !important;
    }
    
    .btn-primary[onclick*="addNewRow"] {
        width: 100%;
        margin-top: 0.6rem;
        padding: 0.7rem !important;
        font-size: 0.9rem !important;
    }
    .items-list p {
        text-align: center;
        color: #8b6b61;
        padding: 2rem;
    }

    .new-item-row {
        border-left-width: 4px;
    }
    
}

/*TBALET*/
@media (min-width: 481px) and (max-width:1024px){  
    /*HEADER SECTION*/
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    /* HERO SECTION*/
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* ABOUT SECTION */
    .about-content img {
        width: 100%;
        max-width: 501px;
        height: auto;
        margin: 0 auto;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    /* MENU SECTION*/
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* FOOTER SECTION*/
    .footer-section .container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .footer-section .contact-us, .footer-section .socials-section, .footer-section .visit-us {
        flex: 1 1 180px;
    }
    
    .footer-section p {
        margin: 0.75rem 0;
        font-size: 0.85rem;
    }
    
    .socials-section .socials {
        gap: 1.15rem;
    }
    /*=============================================================*/
    /*========================== LOGIN PAGE =======================*/
    .login-container {
        gap: 1.8rem;
        padding: 1.5rem;
    }
    
    .role {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .role h3 {
        font-size: 1.5rem;
    }
    
    .input-container input {
        padding: 0.55rem 1rem;
    }
    
    .popup-titel {
        font-size: 1.5rem;
    }

    .popup-style {
        padding: 27.5px 27.5px;
        max-width: 400px;
    }
    
    .popup-style p {
        font-size: 1rem;
    }
    
    /*=============================================================*/
    /*========================== RESET PAGE =======================*/
    .reset-password-page .popup-titel {
        font-size: 1.7rem;
    }
    
    .reset-password-page .popup-style {
        max-width: 500px;
        padding: 2.1rem 2.1rem;
    }

    /*=============================================================*/
    /*========================== CART PAGE =======================*/
    .cart-item {
        padding: 1.1rem;
    }

    .cart-item-controls {
        gap: 1.4rem;
    }
    
    .cart-item h3 {
        font-size: 1.1rem;
    }

    #checkout-btn {
        width: 250px;
    }
    
    .item-subtotal span {
        font-size: 1rem;
    }
    
    .cart-summary {
        width: 70%;
    }

    /*=============================================================*/
    /*========================== PAYMENT PAGE =======================*/
    .payment-wrapper {
        gap: 2rem;
    }
    
    .payment-order-box,  .payment-method-box {
        padding: 1.4rem;
    }
    
    .checkout-methods {
        flex-wrap: wrap;
    }
    
    .payment-option-label {
        flex: 1 1 calc(50% - 0.5rem);
    }
    
    .payment-row-fields {
        gap: 0.7rem;
    }

    /*=============================================================*/
    /*=================== ORDER CONFIRMATION PAGE ==================*/
    .confirmation-box {
        max-width: 551px;
        padding: 3rem 1.7rem 1rem 1.7rem;
        margin: 7rem auto 1rem auto;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
    }
    
    .order-id-display {
        font-size: 1.5rem !important;
    }
    
    #countdown-timer {
        font-size: 1.4rem;
    }
    
    #cancel-order-btn {
        min-width: 200px;
    }

    /*=============================================================*/
    /*========================= PROFILE PAGE ======================*/
    .page-header h1 {
        font-size: 1.9rem;
    }

    .profile-page {
        padding: 1.4rem 0;
    }
    
    .account-section {
        padding: 1.4rem;
    }
    
    .form-container {
        max-width: 450px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .form-container button {
        min-width: 150px;
        align-self: flex-start;
    }
    
    .delete-account {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    #discounts-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /*===============================================================*/
    /*========================= MY ORDERS PAGE ======================*/

    .orders-page {
        padding-top: 1.4rem;
        padding-bottom: 2.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.1rem;
    }
    
    #current-order-box, #order-history-box {
        grid-auto-columns: 280px;
        padding: 0.45rem 0.45rem 1.45rem;
        gap: 1rem;
    }
    
    .order-card {
        padding: 1.1rem;
        max-width: 280px;
    }

    .order-body {
        font-size: 0.8rem;
    }
    
    .order-header {
        font-size: 1rem;
    }
    /*==================================================================*/
    /*======================= ORDER MANAGEMENT PAGE ====================*/
    
    .order-manage-page {
        padding-top: 1.4rem;
        padding-bottom:2.9rem;
    }
    
    .page-header h1 {
        font-size: 2.1rem;
    }
    
    .orders-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.1rem;
    }
    
    .order-card {
        padding: 1.2rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .order-actions {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }

    .order-actions .btn {
        flex: 1;
        text-align: center;
        padding: 0.45rem 0.55rem !important;
        font-size: 0.8rem !important;
    }
    
    .order-actions select {
        flex: 2;
        padding: 0.45rem;
        font-size: 0.8rem;
    }
    /*==================================================================*/
    /*======================= MENU MANAGEMENT PAGE ====================*/
    .menu-manage-page {
        padding-top: 1.6rem;
        padding-bottom:4rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.1rem;
    }
    
    .fields-row {
        flex-wrap: wrap;
    }
    
    .field-name {
        width: 140px !important;
    }
    
    .field-price {
        width: 65px !important;
    }
    
    .field-description {
        width: 200px !important;
    }
    .field-stock {
        width: 70px !important;
    }
    
    .field-image {
        width: 180px !important;
    }

    .item-actions .btn {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.8rem !important;
    }
    
    .item-actions {
        gap: 0.5rem;
    }

}
/*---------------------------------------------------------------------------------*/

/*EXTRA BIG SCREEN*/
@media (min-width: 2000px){  
    .container {
        max-width: 1950px;  
    }
    
    body {
        font-size: 16px;  
    }
    
    /* HEADER SECTION */
    .logo h1 {
        font-size: 2.1rem;  
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .nav-item {
        font-size: 1.1rem; 
        padding: 0.45rem 1rem;
    }
    
    /*HERO SECTION*/
    .hero-content h2 {
        font-size: 4.45rem;  
    }
    
    .hero-content p {
        font-size: 1.9rem;
        max-width: 800px;
    }
    
    .btn {
        padding: 1.1rem 3rem;
        font-size: 1.1rem;
        letter-spacing: 4.5px;
    }
    
    /* ABOUT SECTION */
    .section-title h2 {
        font-size: 2.9rem;
    }
    
    .section-title p {
        font-size: 1.4rem;
    }
    
    .about-content p {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .about-content img {
        width: 700px;
        height: 700px;
    }
    
    /*MENU SECTION */
    .menu-category h3 {
        font-size: 2.1rem;
    }
    
    .menu-items {
        gap: 2.4rem;
    }
    
    .item-content p {
        font-size: 1rem;
    }
    
    .price, .item-content h4 {
        font-size: 1.2rem;
    }

    .footer-section {
        font-size: 1.3rem;
    }
    
    .btn-add {
        padding: 16px 30px;
        font-size: 1rem;
    }

    /* FOOTER SECTION */
    .footer-section {
        padding-top: 2.9rem;
        padding-bottom: 1.9rem;
    }
    
    .footer-section .container {
        max-width: 1400px;
        margin: 0 auto;
        gap: 2.9rem;
    }
    
    .footer-section .contact-us, .footer-section .socials-section, .footer-section .visit-us {
        flex: 1 1 250px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        letter-spacing: 5px;
        margin-bottom: 1.6rem;
    }
    
    .footer-sub-header p {
        width: 2.45rem;
        margin-bottom: 2.4rem;
        border-bottom: 4.5px solid #e6bcc2;
    }

    .footer-section i {
        width: 40px;
        font-size: 1.7rem;
    }
    
    .footer-section p {
        font-size: 1rem;
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .socials-section .socials {
        margin-top: 0.85rem;
        gap: 2rem;
    }

    .socials-section .socials a:hover {
        transform: scale(1.6);
    }
    
    .socials-section .socials a {
        font-size: 2.1rem;
    }

    
    .footer-section .copyrights {
        font-size: 0.9rem;
        border-top-width: 2.2px;
        padding-top: 1.6rem;
        margin-top: 2.9rem;
    }
    
    /*=============================================================*/
    /*========================== LOGIN PAGE =======================*/
    .page-header h1 {
        font-size: 2.9rem;
    }
    
    .role h3, .popup-title {
        font-size: 2.1rem;
    }
    
    .input-container input, .btn-fullwidth, .popup-input {
        height: 3.4rem;
        font-size: 1.1rem;
    }
    
    .popup-style p {
        font-size: 1.3rem;
    }
    /*=============================================================*/
    /*========================== RESET PAGE =======================*/
    .reset-password-page {
        min-height: calc(100vh - 250px);
    }
    
    .reset-password-page .popup-titel {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .reset-password-page .popup-style {
        max-width: 600px;
        padding: 2.9rem 3.4rem;
    }

    .reset-password-page .popup-input {
        padding: 1.1rem 1.4rem;
        border-radius: 19px;
        font-size: 1.1rem;
        margin-bottom: 1.7rem;
    }
    
    .reset-password-page p {
        font-size: 1.3rem;
        margin-bottom: 2.4rem;
    }
    
    .reset-password-page .popup-btns .btn {
        padding: 1.1rem !important;
        font-size: 1.1rem !important;
    }

    #matchPasswordMsg, #missingInfoMsg {
        font-size: 1.1rem !important;
    }

    /*=============================================================*/
    /*========================== CART PAGE =======================*/
    .cart-page {
        min-height: 70vh;
        padding: 2.9rem 0;
    }
    
    .page-header h1 {
        font-size: 2.9rem;
        margin: 4rem 0;
    }
    
    /* Cart items */
    .cart-item {
        padding: 1.9rem 2.4rem;
        margin: 2rem auto;
    }
    
    .cart-item h3 {
        font-size: 1.7rem;
        margin-bottom: 0.7rem;
    }
    
    .cart-item p {
        font-size: 1.1rem;
    }
    
    .cart-item-controls {
        gap: 2.9rem;
    }
    
    .quantity-control {
        padding: 0.5rem 1rem;
        gap: 1rem;
    }
    
    .qty-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .quantity {
        font-size: 1.2rem;
        min-width: 40px;
    }
    
    .item-subtotal {
        gap: 2rem;
    }
    
    .item-subtotal span {
        font-size: 1.4rem;
        padding: 0.75rem 1.45rem;
        border-radius: 32px;
    }
    
    .remove-btn {
        width: 50px;
        height: 50px;
    }
    
    .remove-btn i {
        font-size: 1.2rem;
    }
    
    /* Cart summary */
    .cart-summary {
        width: 45%;
        border-radius: 32px;
        padding: 2.4rem;
        margin: 3rem 0rem 2rem auto;
    }
    
    .cart-total {
        margin-bottom: 2.1rem;
        padding-bottom: 2.1rem;
    }
    
    .cart-total span {
        font-size: 2.2rem;
    }

    .cart-total h3 {
        font-size: 1.7rem;
    }
    
    #checkout-btn {
        width: 350px;
        letter-spacing: 3px;
        padding: 1.2rem 2rem;
        font-size: 1.2rem;
    }
    
    /* Empty cart */
    .empty-cart {
        padding: 5rem 3rem;
        margin: 5rem 1rem;
    }
    
    .empty-cart i {
        font-size: 3.5rem;
    }

    .empty-cart .btn {
        padding: 1.1rem 3rem;
        font-size: 1.1rem;
    }

    .empty-cart p {
        font-size: 1.9rem;
    }

    /*=============================================================*/
    /*========================== PAYMENT PAGE =======================*/
    
    .payment-section {
        padding: 2.9rem 0 4.9rem 0;
        min-height: 70vh;
    }
    
    .page-header h1 {
        font-size: 2.9rem;
        margin: 2.9rem 0;
    }
    
    .payment-wrapper {
        gap: 4rem;
        margin-top: 2.4rem;
    }
    
    /* Order box */
    .payment-order-box {
        padding: 2.4rem;
        border-radius: 24px;
    }
    
    .payment-order-box h2 {
        font-size: 1.9rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .payment-order-items {
        max-height: 400px;
    }
    
    .payment-order-item {
        padding: 1rem 0;
    }
    
    .payment-item-name {
        font-size: 1.1rem;
    }
    
    .payment-item-qty {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
        border-radius: 25px;
    }
    
    .payment-item-price {
        font-size: 1.1rem;
    }
    
    .payment-total-box {
        padding: 2rem;
        border-radius: 20px;
        margin-top: 1.4rem;
    }
    
    .payment-row {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .payment-final {
        font-size: 1.5rem;
        margin-top: 1.4rem;
        padding-top: 1.4rem;
    }

    .payment-method-box h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .payment-method-box {
        padding: 2.4rem;
        border-radius: 27px;
    }
    
    .checkout-methods {
        gap: 1.4rem;
        margin-bottom: 2.4rem;
    }
    
    .payment-option-content {
        padding: 1.4rem;
        border-radius: 20px;
        gap: 0.8rem;
    }

    .payment-option-content span {
        font-size: 1.1rem;
    }
    
    .payment-option-content i {
        font-size: 2.1rem;
    }
    
    .card-details-box {
        padding: 2rem;
        margin: 2rem 0;
        border-radius: 18px;
    }
    
    .card-details-box h3 {
        font-size: 1.7rem;
        margin-bottom: 1.4rem;
    }
    
    .payment-input, .payment-input-half {
        padding: 1rem 1.1rem;
        font-size: 1.1rem;
        border-radius: 10px;
        margin: 0.6rem 0;
    }
    
    .payment-row-fields {
        gap: 1.5rem;
    }
    
    /* Discount */
    .discount-input {
        margin: 2rem 0;
    }
    
    .discount-row {
        gap: 1rem;
    }

    .discount-input label {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }

    .discount-row button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .discount-row input {
        padding: 1rem 1.1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    #place-order-btn {
        margin-top: 2rem;
        padding: 1.2rem !important;
        font-size: 1.2rem !important;
    }
    
    /*=============================================================*/
    /*=================== ORDER CONFIRMATION PAGE ==================*/

    .order-confirmation-page {
        min-height: 70vh;
        padding: 2.9rem 0;
    }
    
    .confirmation-box {
        max-width: 700px;
        padding: 3rem 2rem 1rem 2rem;
        margin: 3rem auto 1rem auto;
        border-radius: 45px;
    }
    
    .fa-solid.fa-circle-check.fa-beat-fade {
        font-size: 4rem;
        margin: 1rem auto 2rem auto;
    }
    
    .page-header h1 {
        font-size: 2.1rem;
        margin-bottom: 2.4rem;
        line-height: 1.3;
    }
    
    .order-id-section {
        padding-bottom: 2rem;
    }
    
    .order-id-section h2 {
        font-size: 1.3rem;
    }
    
    .order-id-display {
        font-size: 2.1rem !important;
        margin-top: 0.7rem;
        letter-spacing: 3px;
    }
    
    .cancel-section {
        margin-top: 1rem;
        padding: 2rem 0 1rem;
    }
    
    .cancel-section h3 {
        font-size: 1.5rem;
        margin: 1rem 0 0.75rem;
    }
    
    .cancel-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    #countdown-timer {
        font-size: 2rem;
        margin-bottom: 1.4rem;
    }
    
    #cancel-order-btn {
        min-width: 250px;
        padding: 1.1rem 2rem;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        border-radius: 45px;
    }
    
    .cancel-message {
        padding: 2rem;
        margin-top: 1.4rem;
        border-radius: 30px;
    }
    
    .cancel-message i {
        font-size: 2.4rem;
    }
    
    .cancel-message p {
        font-size: 1.4rem;
    }

    /*=============================================================*/
    /*========================= PROFILE PAGE ======================*/
    .profile-page {
        padding: 2.4rem 0;
        margin-bottom: 4.8rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
        margin: 3.9rem 0;
    }

    .section-header p {
        font-size: 1.1rem;
        margin-bottom: 2.3rem;
    }

    .section-header h2 {
        font-size: 2.1rem;
        margin-bottom: 0.8rem;
    }
    
    .account-section {
        padding: 2.6rem;
        margin-bottom: 2.6rem;
        border-radius: 25px;
    }
    
    .form-container {
        max-width: 600px;
    }
    
    .form-container form {
        gap: 1.6rem;
    }
    
    .form-container input {
        font-size: 1rem;
        height: 3.4rem;
        border-radius: 20px;
        border-width: 2px;
        padding: 0 1.4rem;
    }
    
    .form-container input:focus {
        border-width: 2px;
    }
    
    .form-container button {
        font-size: 1rem !important;
        min-width: 200px;
        border-radius: 30px !important;
        margin-top: 0.9rem;
        padding: 1.1rem 2.1rem !important;
    }
    
    .msgFillAll, .msgShort, .msgMatch {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
    
    /* the siscount section */
    #discounts-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.8rem;
        margin-top: 2.1rem;
    }
    
    .discount-card {
        padding: 2rem 1.75rem;
        border-radius: 30px;
        gap: 1rem;
    }
    
    .discount-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 25px rgba(228, 188, 195, 0.2);
    }

    .discount-card .btn {
        width: 100%;
        padding: 0.85rem !important;
        font-size: 1rem !important;
        border-radius: 35px !important;
    }
    
    .discount-value {
        font-size: 1rem;
    }

    .discount-code {
        font-size: 1.2rem;
        padding: 0.8rem 1.7rem;
        border-radius: 25px;
        letter-spacing: 4px;
    }
    
    .discount-expiry {
        font-size: 1rem;
    }

    #delete-acc-btn {
        min-width: 250px;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 35px;
        border-width: 2px;
        margin-top: 0.9rem;
    }
    
    .delete-account {
        padding: 2.4rem;
    }
    
    #delete-acc-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 18px rgba(194, 74, 74, 0.3);
    }

    /*===============================================================*/
    /*========================= MY ORDERS PAGE ======================*/
    .orders-page {
        min-height: 70vh;
        padding-top: 1.9rem;
        padding-bottom: 4rem;
    }
    
    .page-header h1 {
        margin-top: 2.9rem;
        margin-bottom: 2rem;
        font-size: 2.8rem;
    }
    
    .current-order-section, .order-history-section {
        margin-bottom: 2.9rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
        margin-bottom: 1.4rem;
    }
    
    #current-order-box, #order-history-box {
        grid-auto-columns: 320px;
        padding: 1rem 0.45rem 1.9rem;
        gap: 1.8rem;
    }
    
    .order-card {
        max-width: 320px;
        box-shadow: 0 10px 2px rgba(138, 106, 97, 0.1);
        padding: 1.7rem;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .order-card:hover {
        box-shadow: 0 20px 3px rgba(228, 186, 195, 0.15);
        transform: translateY(-2px);
    }
    
    .order-header {
        font-size: 1.2rem;
        border-bottom: 1.5px solid #e6bcc2;
        margin-bottom: 0.7rem;
        padding-bottom: 0.7rem;
    }
    
    .order-header span:last-child em {
        padding: 0.3rem 0.7rem;
        border-radius: 30px;
        font-size: 0.9rem;
    }
    
    .order-body {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .order-body ul {
        margin: 0.9rem 0 1rem 1.1rem;
    }
    
    .order-body li {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .order-total {
        font-size: 1rem;
        border-top: 1.5px dashed #eddcc0;
        margin-top: 1rem;
        padding-top: 0.7rem;
    }
    
    .order-total strong {
        color: #5d4037;
        font-size: 1.1rem;
    }
    
    .order-box p {
        padding: 2.9rem;
        color: #8b6b61;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    /*==================================================================*/
    /*======================= ORDER MANAGEMENT PAGE ====================*/
    .order-manage-page {
        padding-top: 2rem;
        padding-bottom:4rem;
        min-height: 70vh;
    }
    
    .page-header h1 {
        margin-top: 3rem;
        margin-bottom:2rem;
        font-size: 2.9rem;
    }
    
    .orders-list {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem;
    }
    
    .order-card {
        box-shadow: 0 10px 20px rgba(138, 106, 97, 0.08);
        padding: 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .order-card:hover {
        box-shadow: 0 20px 30px rgba(228, 187, 194, 0.15);
        transform: translateY(-2px);
    }
    
    .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1.9px solid #e6bcc2;
        margin-bottom: 1.3rem;
        padding-bottom: 0.7rem;
    }
    
    .order-title {
        font-size: 1.2rem;
        color: #5d4037;
    }
    
    .order-actions {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }
    
    .order-actions select {
        background: white;
        color: #5d4037;
        padding: 0.7rem;
        font-size: 0.9rem;
        cursor: pointer;
        border: 1.4px solid #e6bcc2;
        border-radius: 10px;
        min-width: 110px;
    }
    
    .order-actions select:focus {
        outline: none;
        border-color: #c3949a;
    }
    
    .order-actions .btn {
        font-size: 0.9rem !important;
        padding: 0.7rem 1rem !important;
        border-radius: 10px !important;
    }
    
    .order-details {
        font-size: 1rem;
        color: #5d4037;
        line-height: 1.5;
    }

    .order-details strong {
        font-size: 1rem;
        color: #8b6b61;
    }
    
    .order-details p {
        display: flex;
        margin: 0.5rem 0;
        justify-content: space-between;
    }
    
    .order-details span {
        font-weight: 500;
    }
    
    .order-details li {
        color: #8b6b61;
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .order-details ul {
        margin-top: 0.8rem;
        margin-bottom:1rem;
        padding-left: 1.2rem;
    }
    
    .no-orders {
        padding: 3.9rem;
        font-size: 1.1rem;
        text-align: center;
        color: #8b6b61;
        grid-column: 1 / -1;
    }

    /*==================================================================*/
    /*======================= MENU MANAGEMENT PAGE ====================*/
    .menu-manage-page {
        padding-top: 2rem;
        padding-bottom: 4.5rem;
        min-height: 70vh;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        margin-top: 2.8.rem;
        margin-bottom: 1.8rem;
    }

    .items-list {
        margin: 2.2rem 0;
    }
    
    .desserts-manage, .drinks-manage {
        margin-bottom: 4rem;
    }
    
    .menu-item-row {
        border-radius: 25px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 10px 2px rgba(138, 107, 97, 0.05);
    }
    
    .fields-row {
        margin-bottom: 1.1rem;
        gap: 1rem;
    }
    
    .field-name {
        width: 180px !important;
    }
    
    .field-description {
        width: 280px !important;
    }

    .field-price, .field-stock{
        width: 80px !important;
    }

    
    .field-image {
        width: 240px !important;
    }
    
    .fields-row textarea, .fields-row input {
        padding: 0.95rem 1rem;
        font-size: 1.1rem;
        border-radius: 15px;
        border-width: 1.5px;
    }
    
    .fields-row textarea:focus, .fields-row input:focus {
        border-width: 1.5px;
    }
    
    .item-actions {
        gap: 1rem;
        margin-top: 1.2rem;
    }
    
    .item-actions .btn {
        min-width: 120px;
        padding: 0.85rem 1.1rem !important;
        font-size: 1.1rem !important;
        border-radius: 35px !important;
    }
    
    .new-item-row {
        border-left: 4px solid #e6bcc2;
        background: #fffcfc;
    }
   
    .btn-primary[onclick*="addNewRow"] i {
        margin-right: 0.5rem;
    }

    .btn-primary[onclick*="addNewRow"] {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        border-radius: 45px !important;
        margin-top: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .btn-primary[onclick*="addNewRow"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 20px rgba(229, 187, 193, 0.3);
    }
    
    .items-list p {
        padding: 2.5rem;
        background: white;
        color: #8b6b61;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 25px;
        border: 1.5px dashed #eddcc0;
    }
}
     