:root {
    --brg-color: #363534;
    --light-text: #fff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: var(--text-color);
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 90%;
    margin: 0 auto;
}

#Top-bar {
    background-color: var(--brg-color);
    width: 100%;
    height: 48px;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
#Top-left {
    display: flex;
    height: 100%;
}

.tab {
    text-decoration: none;
    color: var(--light-text);
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s;
}
.tab.active {
    background-color: var(--light-text);
    color: var(--brg-color);
}
.tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

#Top-right {
    display: flex;
    height: 100%;
}
.main-header-content{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.search-form{
    width: 427px;
    height: 46px;
    background-color: #fff;
    padding: 12px;
    border:1px solid var(--brg-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.search-input{
    width: 380px;
    height: 22px;
    color: var(--brg-color);
    border: none;
    outline: none;
    align-items: center;
    
}

#hd-center img{
    width: 284px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-link {
    display: flex;
    list-style: none;
    gap: 24px;
}
.header-link a{
    text-decoration: none;
    color: var(--brg-color);
    font-size: 14px;
    font-weight: 600;

}

.header-link a:hover{
    text-decoration: underline;
    cursor: pointer;
}

#list{
    width: 100%;
    height: 80px;
    background-color: #fff;
}
.main-list{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    list-style: none;
}
.main-list li a {
    text-decoration: none;
    color: var(--brg-color);
    font-size: 16px;
    padding: 10px 0;
    display: block;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.submenu{
    position: absolute;
    top: 80px;
    left: 0px;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}
.submenu li a {
    text-decoration: none;
    color: var(--brg-color);
    font-size: 14px;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.2s;
}

.submenu li a:hover {
    background-color: #f5f5f5;

}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#deal {
    background-color: #f2f2f2;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
   
}

.ct-deal {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.ct-deal li a {
    text-decoration: none;
    color: var(--brg-color);
    font-size: 14px;
}
#deal-tg {
    background-color: var(--brg-color);
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
}
.tg-deal {
    list-style: none;
    display: flex;
    justify-content: center;
}

.tg-deal li a {
    text-decoration: none;
    color: var(--light-text);
    font-size: 14px;
}
.banner {
    width: 100%;
    height: auto;
}
.bn1 {
    width: 100%;
    height: 700px;
    display: block;
}

.banner{
    position: relative;
    width: 100%;
}

.banner-content{
    position: absolute;
    top: 10%;
    left: 5%;
    text-align: left;
    color: var(--brg-color);
    width: 80%;
}

.banner-content h3
{
    font-weight: 100;
    margin-bottom: -10px;
}

.banner-content h1
{
    margin-bottom: 10px;
}

.banner-btn {
    padding: 12px 30px;
    background-color: var(--brg-color);
    color: var(--light-text);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.banner-content-t{
    position: absolute;
    top: 10%;
    left: 5%;
    text-align: left;
    color: var(--light-text);
    width: 80%;
}

.banner-content-t h3
{
    font-weight: 100;
    margin-bottom: -10px;
}

.banner-content-t h1
{
    margin-bottom: 10px;
}

.banner-btn-t {
    padding: 12px 30px;
    background-color: var(--light-text);
    color: var(--brg-color);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.bn3 {
    width: 100%;
    height: 700px;
    display: block;
}

.tra-gop{
    width: 100%;
    height: 164px;
    background-color: #92996B;
}

.tg-right h1,
.tg-right h2,
.tg-right h3
{
    color: var(--light-text);
}

.tg-right h2{
    font-weight: 100;
    font-size: 18px;
}

.tg-right h3{
    font-size: 14px;
    font-weight: 100;
}

.tg-right {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.tg-left {
    width: auto;
    height: 48px;
    background-color: var(--light-text);
    display: flex;
    align-items: center;
    align-self: center;
    cursor: pointer;
}

.tg-left span {
    font-size: 16px;
    font-weight: 600;
    padding: 20px 20px;
}

.tra-gop-content {
    height: 100%; 
    display: flex;
    justify-content: space-between;
}

#styles-prd{
    margin-top: 20px;
    width: 100%;
    height: auto;

}
.styles-prd-content h2{
    display: flex;
    justify-content: center;
    font-size: 28px;
    color: var(--brg-color);
}

#styles-prd img{
    width: 404px;
    height: 540px;
}

.styles-prd-content ul {
    list-style: none;
}

.prd-image {
    margin-top: 20px;
    width: 100%;
    height: auto;
    overflow-x: auto;
    padding-bottom: 10px;
}

.prd-image li {
    position: relative;
}

.prd-badge {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: var(--light-text);
    background-color: var(--brg-color);
    padding: 6px 12px;
    font-weight: 300;
    z-index: 2;
}
.prd-image::-webkit-scrollbar {
    height: 4px;
}

.prd-image::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 10px;
}

.prd-image::-webkit-scrollbar-thumb {
    background: var(--brg-color);
    border-radius: 10px;
}

.prd-image ul {
    display: flex;
    gap: 30px;
}
.name-prd {
    width: 404px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-prd h3 {
    color: var(--brg-color);
    font-size: 20px;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px; 
    text-decoration-color: var(--brg-color);
}

#mid-prd{
    width: 100%;
    height: auto;
    margin-top: 40px;
}


.mid-content h2{
    display: flex;
    justify-content: center;
    font-size: 28px;
    color: var(--brg-color);
}

.mid-prd-content{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 30px;
}

.mid-prd-content img{
    width: 100%;
    height: 750px;
}

.name-mid {
    margin-top: 16px;
    text-align: center;
}

.name-mid h3 {
    color: var(--brg-color);
    font-size: 20px;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px; 
    text-decoration-color: var(--brg-color);
    
}

.mid-item {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.space {
    width: 100%;
    height: 40px;
}

.value {
    height: auto;
}
.value h2{
    font-size: 28px;
    color: var(--brg-color);
    display: flex;
    justify-content: center;
}
 
.value-items {
   background-color: #f2f2f2;
   width: 50%;
   height: 320px;
}
.img-value{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.img-value img{
    width: 64px;
    height: 65px;
}

.prd-value {
    margin-top: 20px;
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    gap: 20px;
}

.info-value{
    padding: 20px 20px;
    color: var(--brg-color);
}
.info-value h3 {
    display: flex;
    text-align: center;
    justify-content: center;
}
.info-value h4 {
    margin-top: 10px;
    display: flex;
    text-align: center;
    font-weight: 200;
}

.footer {
    background-color: var(--brg-color);
    width: 100%;
    height: auto;
}

.top-footer {
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.search-form h3 {
    color: #fff;
}

.top-footer .search-form {
    flex-direction: column; 
    height: auto; 
    background-color: transparent;
    border: none; 
    padding: 0;
    gap: 15px;
}

.top-footer .search-input {
    width: 100%; 
    flex: 1;
    height: 46px; 
    padding: 12px;
    border: none; 
    outline: none;
}
.top-footer .search-form h3 {
    text-align: center;
    color: #f5f5f5; 
}
.content-footer {
    height: 650px;
}
.top-footer .input-group {
    display: flex;
}

.top-footer .submit-btn {
    height: 46px;
    flex-shrink: 0;
    width: 120px;
    padding: 0 24px;
    background-color: var(--brg-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.top-footer .input-group {
    display: flex;
    border: 1px solid #fff; 
    overflow: hidden; 
    width: fit-content;
    width: 100%;
    max-width: 550px;
}

.content-footer{
    display: flex;
    justify-content: space-between;
}

.ct-footer ul{
    list-style: none;
}

.ct-footer ul li{
    color: var(--light-text);
    font-size: 14px;
    line-height: 40px;
}

.ct-footer ul li.m-content{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
}

/* CSS SIGNUP */

.main{
    width: 50%;
    height: 800px;
    margin: 0 auto;
}

.main-content{
    height: 100%;
}

.main-content h1{
    color: var(--brg-color);
    margin-top: 50px;
}

.main-content h4{
    margin-top: 5px;
    color: var(--brg-color);
    font-weight: 200;
}
.signup-form {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 15px;
    width: 100%;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form input[type="password"] {
    height: 48px;
    padding: 0 15px;
    border: 1px solid var(--brg-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.signup-form input:focus {
    border-width: 2px;
}

.password-hint {
    font-size: 14px;
    color: var(--brg-color);
    margin-top: -10px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--brg-color);
    cursor: pointer;
    line-height: 1.4;
}

.register-btn {
    height: 48px;
    background-color: var(--brg-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #555;
}

/* CSS LOGIN */

.qmk{
    display: flex;
    gap: 30px;
}
.qmk h4 a {
    color: var(--brg-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.qmk h4 a:hover {
    text-decoration: underline;
}
