*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-family:'Didact Gothic', sans-serif;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-image: url('pictures/Rectangle\ 216.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-logo{
width:85px;
height:78px;
cursor:pointer;
border-radius: 10px; 
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.nav-links a{
font-family:'Fredoka', sans-serif;
font-weight:bold;
font-size:22px;
text-decoration:none;
color:#F2F2F2;
margin-right:25px;
position:relative;
}

.nav-links a:hover { 
text-decoration:underline; 
}

.nav-links a.active-nav {
    color: #000000 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.home-btn {
    background: #FAA633;
    padding: 8px 18px;
    border-radius: 20px;
    color: black !important; 
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.nav-icons{
display:flex;
gap:12px;
}
.icon-circle{
width:65px;
height: 65px;
border-radius:50%;
background:
#F2F2F2;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.icon-circle img{
width:44px;
height:44px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar {
    display: none; 
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 30px;
    padding: 12px 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 320px;
    z-index: 99998;
}

.search-bar.hidden {
    display: none; 
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 20px;
    width: 100%;
    font-family: 'Didact Gothic', sans-serif;
}

.search-bar button {
    border: none;
    background: #FAA633;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-weight: bold;
    font-size: 18px;
}

.user-popup {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 340px;
    z-index: 99998; 
    flex-direction: column;
    gap: 15px;
}

.user-popup.active {
    display: flex;
}

.popup-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.popup-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #F5E6D3;
    border-radius: 30px;
    font-size: 18px;
    font-family: 'Didact Gothic', sans-serif;
    outline: none;
    margin-bottom: 12px;
}

.popup-input:focus {
    border-color: #FAA633;
}

.popup-btn {
    width: 100%;
    padding: 16px;
    background: #FAA633;
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 12px;
}

.popup-btn:hover {
    background: #e8941f;
}

.logout-btn {
    background: #ff6b6b;
}

.logout-btn:hover {
    background: #e05555;
}

.popup-switch {
    text-align: center;
    font-size: 17px;
    color: #888;
    margin-top: 10px;
}

.popup-switch span {
    color: #FAA633;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.popup-email {
    text-align: center;
    color: #888;
    font-size: 17px;
    margin-bottom: 10px;
}

.notif-wrapper {
    position: relative;
}

.notif-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notif-dropdown,
.history-dropdown {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
}

.notif-dropdown.active,
.history-dropdown.active {
    display: block;
}

.notif-item {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #f9f9f9;
}

.notif-item.unread {
    background: #FFF3E0;
    border-left: 4px solid #FAA633;
}

.notif-message {
    font-size: 14px;
    color: #333;
}

.notif-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.history-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.history-date {
    font-size: 13px;
    color: #888;
}

.history-status {
    background: #A2CF62;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.history-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.history-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.history-item-name {
    font-size: 14px;
    font-weight: bold;
}

.history-item-price {
    font-size: 13px;
    color: #888;
}

.history-total {
    text-align: right;
    font-size: 15px;
    color: #333;
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 8px;
}

.loggedin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.menu-btn {
    width: 100%;
    padding: 16px 20px;
    background: #FFF3E0;
    border: none;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 20px;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-btn:hover {
    background: #FAA633;
    color: white;
}

.cart-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-dropdown {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 380px;
    max-height: 520px;
    overflow-y: auto;
    z-index: 99998;
    flex-direction: column;
    gap: 10px;
}

.cart-dropdown.active {
    display: flex;
}

.cart-empty {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 20px 0;
}

.cart-item-link {
    display: block;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.2s;
}
.cart-item-link:hover { opacity: 0.8; }

.cart-item-name-link {
    text-decoration: none;
    display: block;
}
.cart-item-name-link:hover .cart-item-name {
    color: #DA3B80;
    text-decoration: underline;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 10px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.cart-item-price {
    font-size: 13px;
    color: #FAA633;
    font-weight: bold;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #FAA633;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.qty-btn:hover {
    background: #e8941f;
}

.qty-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
}

.cart-remove-btn:hover {
    color: #e05555;
    transform: scale(1.2);
}

.cart-summary {
    border-top: 2px dashed #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.cart-summary-row span:last-child {
    font-family: 'Fredoka', sans-serif;
    font-weight: bold;
    color: #FAA633;
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: #A2CF62;
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.cart-checkout-btn:hover {
    background: #8ab84e;
}

.popup-forgot {
    text-align: center;
    font-size: 17px;
    color: #888;
    cursor: pointer;
    margin-top: 4px;
    text-decoration: underline;
}

.back-btn {
    background: none;
    border: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    color: #FAA633;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 0;
}

.back-btn:hover {
    text-decoration: underline;
}

.footer {
    background-image: url('pictures/Rectangle\ 109.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 5% 30px 5%; 
    width: 100%;
    box-sizing: border-box; 
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%; 
    flex-wrap: wrap; 
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex: 1; 
    min-width: 200px; 
}

.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 10px;
    object-fit: cover;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.footer-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.footer-icon-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background:#F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.footer-icon-circle img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-contact-item p {
    font-family: 'fredoka', sans-serif;
    font-size: 20px;
    color: #FFF7EE;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: underline;
    color: #FFF7EE;
    font-family: 'fredoka', sans-serif;
    font-size: 20px;
    cursor: pointer;   
}

.footer-payment {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap; 
}

.payment-card {
    width: 70px;
    height: 45px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.payment-card img {
    width: 50px;
    height: 30px;
    object-fit: contain;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.4);
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
    color: #FFF7EE;
    font-family: 'fredoka', sans-serif;
    font-size: 20px;
}

.backtop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-decoration: none;
    z-index: 9999;        
    opacity: 1 !important; 
    visibility: visible !important; 
}

.backtop img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.lang-wrapper {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 220px;
    z-index: 99998;
    flex-direction: column;
    gap: 8px;
}

.lang-dropdown.active {
    display: flex;
}

.lang-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.lang-btn {
    width: 100%;
    padding: 12px 15px;
    background: #FFF3E0;
    border: none;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.lang-btn:hover {
    background: #FAA633;
    color: white;
}

.lang-btn.active {
    background: #FAA633;
    color: white;
}

.whatsapp-float {
    position: fixed;
    bottom: 170px;       
    right: 40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-decoration: none;
    z-index: 9999;
    opacity: 1 !important;
    visibility: visible !important;
}

.whatsapp-float img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.mobile-close-btn {
    display: none !important;
}
.hamburger-btn {
    display: none !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

#google_translate_element {
    display: none !important;
}

.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.policy-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000000; 
    justify-content: center;
    align-items: flex-start;
    padding: 130px 20px 40px; 
    overflow-y: auto;
}
 
.policy-overlay.active {
    display: flex;
}
 
.policy-modal {
    background: #FFF7EE;
    border-radius: 30px;
    width: 100%;
    max-width: 760px;
    padding: 52px 60px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    animation: modalIn 0.3s ease;
}
 
@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
.policy-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: #DA3B80;
    line-height: 1;
    font-family: 'Fredoka', sans-serif;
    transition: transform 0.2s;
}
 
.policy-close:hover { transform: scale(1.15); }

.policy-modal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #DA3B80;
    margin: 0 0 4px;
    line-height: 1.2;
}
 
.policy-modal-company {
    font-family: 'Fredoka', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #555555;
    margin: 0 0 28px;
}
 
.policy-divider {
    width: 60px;
    height: 4px;
    background: #DA3B80;
    border-radius: 4px;
    margin-bottom: 32px;
}

.policy-modal h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin: 28px 0 8px;
}

.policy-modal p,
.policy-modal li {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    color: #444444;
    line-height: 1.8;
    margin: 0 0 8px;
}
 
.policy-modal ul {
    padding-left: 20px;
    margin: 8px 0 16px;
}
 
.policy-modal ul li {
    margin-bottom: 6px;
}

.policy-address {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    background: #f0e8e0;
    border-left: 4px solid #DA3B80;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0 16px;
}

.user-popup {
    max-height: 90vh;         
    overflow: hidden;           
    display: none;
    flex-direction: column;
}

.user-popup.active {
    display: flex;
}

#notifList {
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;      
    margin-top: 8px;
}

#historyList {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    margin-top: 8px;
}

#notifList::-webkit-scrollbar,
#historyList::-webkit-scrollbar {
    width: 5px;
}

#notifList::-webkit-scrollbar-track,
#historyList::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

#notifList::-webkit-scrollbar-thumb,
#historyList::-webkit-scrollbar-thumb {
    background: #FAA633;
    border-radius: 10px;
}

#notifList::-webkit-scrollbar-thumb:hover,
#historyList::-webkit-scrollbar-thumb:hover {
    background: #e8941f;
}

#notifSection,
#historySection {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(90vh - 80px);  
}