* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.successful_title{
    color: #58a81e;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 18px; 
    animation: flash 0.5s ease-in-out;
}
@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}
.quantity-control {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
    outline: none;
    font-size: 12px;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* nodel */

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.Pop-up{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 600px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    overflow: hidden;
    animation: modalFadeIn 0.5s;
}
.Pop-up .top_header{
    display: flex;
    align-items: center;
    padding: 5px;
    justify-content: end;
}
.Pop-up .products_box{
  padding: 20px;
}
.Pop-up  .box_price .discount_price{
    text-decoration: line-through;
    color: #2a2828;
    font-size: 14px;
}
.Pop-up  .box_price .price{    
    color: #2a2828;
    font-weight: 500;
    font-size: 16px;
    margin-left: 15px;
}
.Pop-up .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Pop-up  .btn  .button{
    padding: 10px;
    background-color: #0a7e78;
    border-radius: 5px;
    margin: 0px 5px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}
.Pop-up select {
    padding: 2px 5px;
    width: 300px;
    height: 2.75rem;
    border: 1px solid #ddd;
    font-size: 12px;
    transition: border-color 0.3s ease;
    box-shadow: inset 0 -1.4em 1em 0 rgba(0, 0, 0, .02);
    outline: none;
}
.Pop-up .sku_code{
    margin-top: 10px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    /* backdrop-filter: blur(5px); */
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
/* model end */
.img_contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body {
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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


.header {
    background: linear-gradient(135deg, #0a7e78 0%, #2c3e50 100%);
    color: white;
    padding: 0px 0 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 998;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 0 15px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
         display: flex;
        align-items: center;
        font-size: 24px;
        font-weight: 700;
        max-width: 200px;
        overflow: hidden;
        height: 70px;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.promo-text {
    font-size: 14px;
    opacity: 0.9;
}

.user-actions {
    display: flex;
    gap: 20px;
}
.user-actions a{
    color: #fff;
    text-decoration: none;
}
.user-action {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-action:hover {
    color: #ffdd40;
}


.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-links > .nav-item > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 5px;
    transition: all 0.3s ease;
    display: block;
}

.nav-links > .nav-item > a:hover {
    color: #ffdd40;
}


.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    font-weight: 500;
}

.nav-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    color: #333;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background: #f8f9fa;
    color: #2575fc;
}


.sub-menu .sub-menu-2 {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.sub-menu li:hover .sub-menu-2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.search-box {
    display: flex;
    width: 300px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: #ffdd40;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #ffd21f;
}


.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3860;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}




.footer {
    background: #01534f;
    color: white;
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;    
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: space-between;
}

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

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3498db;
    transform: translateY(-3px);
}
.footer-social .badge-list_footer{
    background-color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lager_hide{
    display: none;
}


.side-menu {
    position: fixed;
    top: 0;
    left: -90%;
    width: 90%;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    left: 0;
}

.menu-header {
    height: 50px;
    background: #0a7e78;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-weight: bold;
}

.menu-close {
    margin-left: auto;
    font-size: 20px;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 10px 0;
}

.menu-item {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.side-menu .menu-link {
    display: block;
    width: 90%;   
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.side-menu .menu-link:hover {
    background-color: #f9f9f9;
}

.menu-icon {
    margin-right: 10px;
    font-size: 16px;
    color: #666;
}

.menu-arrow {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    transform-origin: center; 
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-arrow.expanded {
    transform: rotate(90deg);
}

.submenu {
    width: 100%;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.submenu.expanded {
    max-height: 1000px;
}

.submenu .menu-link {
    padding-left: 40px;
}

.submenu .submenu .menu-link {
    padding-left: 65px;
}


.content {
    margin-top: 60px;
    padding: 15px;
}

.content h1 {
    font-size: 20px;
    margin-bottom: 15px;
}

.content p {
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
        max-width: 500px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-column{
        width: 49%;
    }
}

@media (max-width: 768px) {
    .lager_hide{
        display:block;
    }
    .small_hide_box{
        display: none;
    }
    .header-top {
        flex-wrap: wrap;
    }
    
    .promo-text {
        order: 3;
        flex-basis: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .user-actions {
        gap: 15px;
    }
    
    .banner {
        padding: 50px 0;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    .footer-column{
        width: 49%;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .user-action span {
        display: none;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    .footer-column{
        width: 49%;
    }
}