/* 기본 스타일 */
:root {
    --primary-color: #000;
    --secondary-color: #f01321;
    --accent-color: #f44336;
    --text-color: #141414;
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --blue-color: #074EFF;
    --purple-color: #e30102;
    --purple2-color: #b0018c;
}
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
body {
     font-family: 'Pretendard-Regular';
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

.h1, h1 {
	font-size: 2.0rem;
}
/* 헤더 스타일 */

/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.main-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--light-gray);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--text-color);
}

.navbar {
    padding: 15px 0;
}

.logo {
    max-height: 90px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
	color:#000;'
}

.navbar-expand-lg .navbar-nav {
	flex-direction: row;
	margin: 0 auto;
}
.navbar-expand-lg .navbar-nav .nav-link {
	padding-right: var(--bs-navbar-nav-link-padding-x);
	padding-left: var(--bs-navbar-nav-link-padding-x);
	font-size:1.1em !important;
	padding:0px 20px;
}

/* 메인 콘텐츠 스타일 */
.main-content {
    min-height: 600px;
}

/* 푸터 스타일 */
.footer {
    background-color: var(--light-gray);
    padding: 50px 0 20px;
    color: var(--text-color);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-color);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: white;
}


.carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    /* background-color: rgba(0, 0, 0, 0.6); */
    padding: 20px;
    border-radius: 5px;
    max-width: 1020px;
    margin: 0 auto;
    bottom: 30%;
    text-align: left;
	font-size:1.2em
    /* left: 0px; */
}

.carousel-caption h2 {
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 섹션 스타일 */
.section-title {
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
	font-size:1.2em;
}

.feature-box {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: transform 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    color: var(--primary-color);
}

/* 제품 카드 스타일 */
.product-card {
    border-radius: 0px;
    background-color: white;
    transition: transform 0.3s;
    height: 100%;
    overflow: hidden;
}


.product-image {
	aspect-ratio: 1 / 1;   /* 정사각형 */
    overflow: hidden;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}


.product-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: bottom 0.3s;
    text-align: center;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-title a {
    color: var(--text-color);
}

.product-seller {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem !important;
}

.product-rating {
    color: #ffc107;
    font-size: 8pt;
}

/* 브랜드 카드 스타일 */
.brand-card {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brands h2 span{font-size:0.6em;font-weight:400;color:#333}

/* 후기 카드 스타일 */
.testimonial-card {
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    background-color: white;
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid #eee;
}
.testimonial-card .photo img{width:100%;height:150px;border-radius:10px;margin-bottom:10px}

.testimonial-rating {
    color: #ffc107;
    font-size: 8pt;
}

.testimonial-text {
    margin-bottom: 20px;
    font-size: 0.9rem;
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 보여줄 줄 수 */
    -webkit-box-orient: vertical;
    color: #959595;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}



/* CTA 섹션 스타일 */
.cta {
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}



.btn-purple {
    background-color: var(--purple-color);
    border-color: var(--purple-color);
	color:#fff;
}

.btn-purple:hover {
    background-color: var(--purple2-color);
    border-color: var(--purple2-color);
	color:#fff;
}

.btn-outline-purple {
    background-color: transparent;
    border: 2px solid var(--purple-color);
    color: var(--purple-color);
}

.btn-outline-purple:hover {
    background-color: var(--purple-color);
    border-color: var(--purple-color);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: #ddd;
}

.btn-outline-primary:hover {
    background-color: #36bee1;
    border-color: #36bee1;
    color: white;
}


.btn-blue{
    background-color: var(--blue-color);
    border-color: var(--blue-color);
	color:#fff;
}


.btn-blue:hover {
    background-color: #fff;
    border-color: var(--blue-color);
    color: white !imporant;
}
.btn-blue:hover a{
    color: white !imporant;
}
/* 페이지네이션 스타일 */
.pagination {
    margin-top: 30px;
    justify-content: center;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    color: var(--primary-color);
    background-color: white;
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.page-link.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 로그인 및 회원가입 폼 스타일 */
.auth-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

#topBanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #36bee1;
  color: white;
  z-index: 9999;
  text-align: center;
  font-size: 16px;
  padding: 20px 0;
}
.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.banner-text {
  flex: 1;
}
#closeBanner {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

.paging {text-align:center;width:100%;padding:20px;overflow:hidden}
.paging span{border:1px solid #ddd;border-radius:10px;margin:0px 2px;padding:5px 10px}
.paging span:hover{background:#fafafa;border:1px solid #ddd;border-radius:10px;margin:0px 2px;padding:5px 10px}
.paging .on{background:#0d6efd;border:1px solid #0d6efd;color:#fff}

body {
  padding-top: 70px; /* 배너 높이만큼 여백 줘야 내용 안 가려짐 */
}
.hamberg{margin-top: 6px; border: 1px solid #ddd; background: none !important; color: #777 !important; font-weight: 400;margin-bottom:30px;display:none}
.col-md-2 {
	flex: 0 0 auto;
	width: 20%;
}

.col-md-9 {
	flex: 0 0 auto;
	width: 80%;
}
/* 반응형 스타일 */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 40px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .feature-box, .product-card, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar .text-end {
        text-align: center !important;
        margin-top: 0px;
		margin-left:0px
    }
	  #topBanner {
		font-size: 14px;
		padding: 8px 0;
	  }	
	.navbar-expand-lg .navbar-nav {
		flex-direction: column;
		margin: 0 auto;
	}
	.hamberg {display:none}
 .top-bar-text {display:none}
  
}

/* 헤더 드롭다운 메뉴 스타일 추가 */
.dropdown-menu {
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


.car-register-btn {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background-color: #1a73e8;
    border-color: #1a73e8;
    transition: all 0.3s ease;
}

.car-register-btn:hover {
    background-color: #0d47a1;
    border-color: #0d47a1;
} 
.more {float:right;font-size:11pt;font-weight:400;color:#333}

@media (max-width: 420px) {
	  #topBanner {
		font-size: 14px;
		padding: 22px 0;
	  }	
	}