* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: #fff; 
    color: #333; 
    overflow-x: hidden; 
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

header { 
    background: #272D3D; 
    padding: 20px 0; 
}
        
.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    color: #fff; 
    font-weight: 700; 
    font-size: 2rem; 
    display: flex; 
    align-items: left; 
    gap: 0; 
    padding-bottom: 0;
}
        
.logo span { 
    font-size: 1.2rem; 
    font-weight: 700; 
    padding-bottom: 0;
}
        
.nav { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    color: #fff; 
    font-size: 0.9rem; 
}
        
.header-actions i { 
    cursor: pointer; 
}
        
.dropdown { 
    position: relative; 
    cursor: pointer; 
}
        
.dropdown:hover .dropdown-menu { 
    display: block; 
}
        
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    right: 0; 
    background: #fff; 
    color: #333; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    border-radius: 5px; 
    padding: 10px 0; 
    min-width: 120px; 
    z-index: 10; 
}
        
.dropdown-menu li { 
    padding: 8px 20px; 
    transition: 0.2s; 
}
        
.dropdown-menu li:hover { 
    background: #f0f0f0; 
}
        
.dropdown-menu li a{
    display:block;
    width:100%;
    color:inherit;
    text-decoration:none;
}

.mobile-dropdown-icon { 
    display: none; 
}

.hero { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    padding: 60px 0; 
    gap: 40px; 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 1s ease-out, transform 1s ease-out; 
}
        
.hero.reveal { 
    opacity: 1; 
    transform: translateY(0); 
}
        
.hero-content { 
    flex: 1; 
    min-width: 300px; 
}
        
.hero-content h1 { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    line-height: 1.1; 
}
        
.hero-content p { 
    color: #666; 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    max-width: 400px; 
}
        
.hero-buttons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
}
        
.btn { 
    padding: 12px 24px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); 
    font-size: 0.9rem; 
    border: 1px solid transparent; 
}
        
.btn:hover { 
    transform: scale(0.98); 
}
        
.btn-primary { 
    background: #000; 
    color: #fff; 
}
        
.btn-outline { 
    background: #fff; 
    color: #000; 
    border-color: #ccc; 
}
        
.hero-image { 
    flex: 1; 
    min-width: 300px; 
    height: 400px; 
    overflow: hidden; 
    border-radius: 10px; 
}
        
.hero-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
        
.catalog-section { 
    margin-bottom: 40px; 
    opacity: 0; 
    transform: translateY(50px); 
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
        
.catalog-section.reveal { 
    opacity: 1; 
    transform: translateY(0); 
}
        
.section-title { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
}
        
.section-subtitle { 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin-bottom: 15px; 
}

.scroll-container { 
    overflow-x: auto; 
    overflow-y: hidden;
    padding-bottom: 20px; 
    display: flex; 
    gap: 20px; 
    scrollbar-width: thin; 
    scrollbar-color: #ccc #f0f0f0;
    -webkit-overflow-scrolling: touch;
}
        
.scroll-container::-webkit-scrollbar { 
    height: 8px; 
}
        
.scroll-container::-webkit-scrollbar-track { 
    background: #f1f1f1; 
    border-radius: 4px; 
}
        
.scroll-container::-webkit-scrollbar-thumb { 
    background: #888; 
    border-radius: 4px; 
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 20px; 
}

.product-card { 
    flex: 0 0 200px; 
    min-width: 200px;
    max-width: 200px;
    height: 265px; 
    background: #F2F2E6; 
    border-radius: 12px; 
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
        
.product-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
        
.product-card-img { 
    width: 100%; 
    height: 180px; 
    background: #e0e0e0; 
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
        
.product-card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
        
.product-card-body { 
    padding: 12px 15px; 
    display: flex; 
    align-items: center;
    height: 85px; 
    flex-shrink: 0;
}
        
.product-title { 
    font-size: 0.9rem; 
    font-weight: 500; 
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
        
footer {
    background:#272D3D;
    padding:45px 0;
    margin-top:50px;
}

.footer {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:70px;
}

.footer-left {
    flex:1;
}

.footer-right {
    flex:1;
}

.footer-item {
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:28px;
}

.footer-item i {
    width:48px;
    height:48px;
    border-radius:50%;
    background:#384055;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    flex-shrink:0;
}

.footer-item strong {
    display:block;
    color:#fff;
    margin-bottom:6px;
}

.footer-item p {
    color:#c8c8c8;
    line-height:1.6;
    font-size:.9rem;
}

.footer-right h3 {
    color:#fff;
    margin-bottom:15px;
    font-size:1.5rem;
}

.footer-right p {
    color:#c8c8c8;
    line-height:1.8;
    margin-bottom:20px;
    max-width:350px;
}

.footer-right small {
    color:#9ea4b3;
}

.social-icons { 
    display: flex; 
    gap: 15px; 
    margin-top: 15px; 
    font-size: 1.1rem; 
    color: #666; 
}
        
.wa-float { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background: #25D366; 
    color: #fff; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 24px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    z-index: 99; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
        
.wa-float:hover { 
    transform: translateY(-5px); 
}

.detailcontainer {
    background: #fff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.pproduct-image {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.pimage-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 100%; 
    background: #f5f5f5;
    border-radius: 30px;
    overflow: hidden;
}

.pimage-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

.pproduct-details {
    flex: 1;
    min-width: 300px;
    padding-top: 10px;
}

.pproduct-details .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.pproduct-details .product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #000;
    letter-spacing: -0.5px;
}

.pproduct-details .stock {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    margin-top: 5px;
}

.psubtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.pdescription {
    margin-bottom: 35px;
    line-height: 1.6;
    color: #000;
}

.pdescription p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.location-section {
    padding:80px 0;
}

.location-wrapper {
    display:flex;
    gap:40px;
    align-items:center;
    flex-wrap: wrap;
}

.location-map {
    flex:1.2;
}

.location-map #map {
    width:100%;
    height:420px;
    border:none;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.location-info {
    flex:0 0 35%;
}

.location-info h3 {
    font-size:30px;
    margin-bottom:18px;
}

.location-info p {
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

.info-item {
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
    font-size:16px;
}

.info-item i {
    color:#0d6efd;
    margin-top:3px;
    width:18px;
}

.btn-maps {
    display:inline-block;
    margin-top:20px;
    padding:12px 22px;
    background:#0d6efd;
    color:white;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
}

.btn-maps:hover {
    background:#084db6;
}

.butwrap {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 18px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-button:hover {
    background: #333;
    transform: scale(0.98);
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

#searchIcon {
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s;
}

#searchIcon:hover {
    color: #f0b429;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 4px 12px 4px 18px;
    border: 1px solid #ddd;
    animation: slideIn 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input-container input {
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 0.9rem;
    width: 180px;
    background: transparent;
    color: #333;
}

.search-input-container input::placeholder {
    color: #aaa;
}

.search-input-container .fa-times {
    color: #888;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s;
}

.search-input-container .fa-times:hover {
    color: #333;
}

@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    header {
        width: 100% !important;
        overflow: hidden;
    }

    .header-inner {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        align-items: center !important;
    }
    
    .nav {
        gap: 15px !important;
        position: relative;
    }

    .dropdown-label { 
        display: none; 
    }
            
    .mobile-dropdown-icon { 
        display: inline-block; 
        font-size: 1rem;
        padding: 5px;
    }
    
    .dropdown-menu {
        position: fixed !important; 
        top: 60px !important; 
        right: 16px !important; 
        left: auto !important;
        width: max-content !important;
        min-width: 120px !important;
        max-width: calc(100vw - 32px) !important;
        box-sizing: border-box !important;
        max-height: 250px !important;
        overflow-y: auto !important;
        white-space: normal !important; 
        background: #fff !important;
        color: #333 !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        border-radius: 5px !important;
        padding: 10px 0 !important;
        list-style: none !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }

    .dropdown-menu li {
        padding: 8px 20px !important;
        transition: 0.2s !important;
        white-space: nowrap !important; 
    }

    .dropdown:hover .dropdown-menu { 
        display: none !important; 
    }
    
    .dropdown.active .dropdown-menu { 
        display: block !important; 
    } 
        
    .search-input-container input {
        width: 120px;
        
    }

    .hero { 
        flex-direction: column-reverse; 
        padding: 20px 0 40px; 
    }
            
    .hero-content { 
        text-align: center; 
    }
            
    .hero-content h1 { 
        font-size: 2.2rem; 
    }
            
    .hero-content p { 
        margin: 0 auto 20px auto; 
    }
            
    .hero-buttons { 
        justify-content: center; 
        flex-direction: column; 
        width: 100%; 
        max-width: 350px; 
        margin: 0 auto; 
    }
            
    .btn { 
        width: 100%; 
        text-align: center; 
    }
            
    .hero-image { 
        height: 250px; 
        width: 100%; 
    }
            
    .section-title { 
        font-size: 1.5rem; 
    }
            
    .product-card { 
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
        height: 220px;
    }
    
    .product-card-img { 
        height: 140px; 
    }
            
    .product-card-body { 
        height: 80px; 
        padding: 10px 12px; 
    }
            
    .product-title { 
        font-size: 0.8rem; 
    }

    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    
    .catalog-section {
        width: 100%;
        overflow: hidden; 
    }

    .scroll-container {
        width: 100%;
        max-width: 100%;
        padding-left: 5px;
        padding-right: 20px;
        box-sizing: border-box;
        gap: 15px;
        padding: 10px 0 20px 0;
    }

    .detailcontainer {
        margin: 20px 15px;
        padding: 20px;
        border-radius: 20px;
        gap: 30px;
        flex-direction: column;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pproduct-image {
        min-width: 100%;
        max-width: 100%;
    }

    .pproduct-details .header {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }

    .pproduct-details .product-title {
        font-size: 1.8rem;
    }

    .pproduct-details {
        min-width: 0 !important; 
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .butwrap {
        padding: 1rem 0 !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .location-wrapper {
        flex-direction:column;
    }

    .location-map {
        width: 100%;
        display: block;
    }

    .location-map #map {
        height:300px;
    }

    .location-info {
        text-align:center;
    }

    .info-item {
        justify-content:center;
    }
    
    .footer {
        justify-content: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: flex-start;   
        gap: 35px;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: left;          
    }

    .footer-right h3, .footer-right p, .footer-right small {
        text-align: left;
    }

    .footer-item {
        justify-content: flex-start;
    }

    .footer-brand p {
        max-width: 100% !important;
    }

}

@media (min-width: 620px) and (max-width: 1024px) {
    .product-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 480px) {
    .search-input-container input {
        width: 40px;
    }
}

@media (max-width: 380px) {
    .search-input-container input {
        width: 40px !important;
        height: 10px;
    }
    .logo {
        font-size: 1rem !important;
    }
    .logo span { font-size: 0.5rem;}
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}