body {
    font-family: 'Roboto', sans-serif;
    font-weight: 200; /* 기본 글자 두께 */
    margin: 0;
    /*font-family: 'Manrope', sans-serif;*/
    padding: 0;
    line-height: 1.6; /* 가독성 좋은 줄간격 설정 */
    color: #333; /* 기본 글자 색상 */
    background-color: #fff; /* 배경색 */
}

body.search .site-content {
  margin-top: 0px !important;
}

.btn-primary {
  background-color: #000 !important; /* 버튼 배경을 검정색으로 */
  border-color: #000 !important; /* 테두리 색상도 검정으로 */
  border: 0;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #333 !important; /* 버튼에 마우스를 올렸을 때 조금 더 밝은 검정색 */
  border-color: #333 !important;
}

/* 기본 페이지네이션 링크 스타일 (테두리 없음) */
.pagination .page-link {
    color: #000;
    background-color: #fff;
    border: none !important;
}

/* 마우스 오버 시 스타일 */
.pagination .page-link:hover {
    color: #fff;
    background-color: #000;
    border: none !important;
}

/* 활성 페이지 스타일 */
.pagination .page-item.active .page-link {
    color: #fff;
    background-color: #000;
    border: none !important;
}

/* Breadcrumb 텍스트 색상 변경 */
.breadcrumb-item a,
.breadcrumb-item {
    color: #999 !important; /* 기본 텍스트 색상 */
}

/* Breadcrumb 활성 항목(현재 페이지) 색상 변경 */
.breadcrumb-item.active {
    color: #666 !important; /* 활성 항목 텍스트 색상 (약간 연한 검정) */
}

/* 링크 마우스 오버 시 색상 변경 */
.breadcrumb-item a:hover {
    color: #333 !important; /* 링크 호버 시 색상 */
}

/* 배경색을 투명으로 설정하고, 테두리 둥글기도 제거 */
.wc-breadcrumb.bg-body-tertiary {
    background-color: transparent !important;
    border-radius: 0 !important; /* 만약 모서리 둥근 부분도 없애려면 추가 */
}

/* 배경색을 흰색으로 설정하고 싶다면 이걸 사용 */
.wc-breadcrumb.bg-body-tertiary {
    background-color: #fff !important;
    border-radius: 0 !important;
}

*,
*::before,
*::after {
    border-radius: 0 !important;
}

.card-img-top {
  width: 100%; /* 폭 전체 사용 */
  object-fit: cover;
}

/* 매우 큰 화면 (1200px 이상) */
@media (min-width: 1200px) {
  .card-img-top {
    max-height: 400px;
  }
.mega-menu-item > a {
  font-size: 18px !important; /* 원하는 크기로 조정하세요 */
  color: black !important;
}
}

/* 중간 화면 (992px ~ 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .card-img-top {
    max-height: 375px;
  }
.mega-menu-item > a {
  font-size: 12px !important; /* 원하는 크기로 조정하세요 */
  color: black !important;
}
}

/* 작은 화면 (768px ~ 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .card-img-top {
    max-height: 350px;
  }
.mega-menu-item > a {
  font-size: 10px !important; /* 원하는 크기로 조정하세요 */
  color:green !important;
}
}

/* 모바일 화면 (767px 이하) */
@media (max-width: 767px) {
  .card-img-top {
    max-height: 300px;
  }
.mega-menu-item > a {
  font-size: 11px !important; /* 원하는 크기로 조정하세요 */
  color: pink !important;
}
}

/* 화면이 lg 사이즈(992px) 이하로 줄어들면 메뉴가 사라짐 */
@media (max-width: 992px) {
    #top-menu {
        display: none !important;
    }
}

.btn-outline-secondary.cart-toggler {
    border: none !important; /* 버튼 테두리 제거 */
    box-shadow: none !important; /* 포커스 시 그림자도 제거 (깔끔하게 처리) */
}

.btn-outline-secondary.cart-toggler,
.btn-outline-secondary.account-toggler {
    border: none !important; /* 테두리 제거 */
    box-shadow: none !important; /* 포커스 그림자 제거 */
}

.pagination .page-link.active {
    background-color: #111827 !important; /* 검정색 배경 */
    color: #fff !important;               /* 흰색 글씨 */
    font-weight: bold !important;
}

.announcement-bar {
  background-color: #222; /* 광고바 배경색 */
  color: #fff; /* 글자색 */
  font-size: 14px;
}

/* 칼라 스위치 */
.color-swatches {
    margin-top: 2px;
    display: flex;
    justify-content: left;
    gap: 0px;
}

.color-swatches .swatch {
    width: 25px;
    height: 25px;
    overflow: hidden; /* 이미지 확대 시 넘치는 부분 숨김 */
    border-radius: 50% !important; /* 원형 모양으로 잘림 */
    border: 1px solid #ddd;
    cursor: pointer;
}

.color-swatches .swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2); /* 이미지 두 배 확대 */
    display: block;
}
/* products card size*/
#product_card {
  height: 490px !important;
  padding: 5px !important;
  
}

@media (max-width: 768px) {
  #product_card {
    height: 430px !important;
    padding: 1px !important;
    line-height: 1 !important;
  }
}

#card {
  height: 490px !important;
  padding: 5px !important;
  
}

 .product_card .card.product {
	overflow: visible !important;
}

.woocommerce-loop-product__title {
  /*white-space: nowrap !important;*/          /* 한 줄로 표시 */
  /*overflow: hidden !important;             /* 넘치는 텍스트 숨김 */
  /*text-overflow: ellipsis !important;      /* ...으로 표시 */
  max-width: 100% !important;              /* 필요시 너비 제한 */
  display: block !important;               /* 또는 inline-block */
  line-height: 1 !important;
  padding: 0px !important;
  padding-top: 10px !important;
  letter-spacing: -0.3px !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}
.products .card-body {
  padding: 10px 0px 3px 0px !important;
}
.entry-title {
  padding-top: 40px;
}

/*================*/
#customer-topbar {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: 500;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*================*/

@media (max-width: 991px) {     /* 모바일 */
  .navbar-brand img {
    max-height: 50px !important;
    margin-top: 0px !important;
  }
  .navbar {
    height: 40px !important;
  }
  .sticky-top {
	height: 80px !important;
  }
}

@media (min-width: 992px) {     /* 데스크탑 */
  .navbar-brand img {
    max-height: 120px;
  }
  .navbar {
    height: 40px !important;
    margin-top: 6px !important;
    padding-top: 0px !important;
  }
  .sticky-top {
	height: 100px !important;
  }
}
.account-toggler {
    padding: 0 !important;        /* 버튼 자체의 패딩 제거 */
    display: inline-flex;         /* 버튼 내 요소들을 명확히 정렬하기 위한 flex 처리 */
    justify-content: center;      /* 수평 중앙 정렬 */
    align-items: center;          /* 수직 중앙 정렬 */
}

.account-toggler svg {
    display: block;               /* SVG의 inline 기본 여백 제거 */
    margin: 0;                    /* SVG 좌우 마진 명시적 제거 */
}
.account-toggler {
    padding: 0 !important;        /* 버튼 자체의 패딩 제거 */
    display: inline-flex;         /* 버튼 내 요소들을 명확히 정렬하기 위한 flex 처리 */
    justify-content: center;      /* 수평 중앙 정렬 */
    align-items: center;          /* 수직 중앙 정렬 */
}

.account-toggler svg {
    display: block;               /* SVG의 inline 기본 여백 제거 */
    margin: 0;                    /* SVG 좌우 마진 명시적 제거 */
}
.cart-toggler {
    padding: 0 !important;           /* 버튼 내부 여백 제거 */
    display: inline-flex;            /* 버튼 내부 요소의 정렬을 위한 flex 적용 */
    align-items: center;             /* 세로축 중앙 정렬 */
    justify-content: center;         /* 가로축 중앙 정렬 */
}

.cart-toggler svg {
    width: 30px;                     /* SVG 크기 축소 */
    height: 30px;                    /* SVG 크기 축소 */
    display: block;                  /* SVG 기본 inline 공백 제거 */
    margin: 0;                       /* 좌우 마진 완전 제거 */
}

.cart-content-count {
    font-size: 0.75rem;              /* 카운트 배지 폰트 사이즈 조정(옵션) */
    padding: 0.2em 0.4em;            /* 배지 패딩 조정(옵션) */
}

.cart-total {
    margin-left: 0.25rem !important; /* 총액과 아이콘 사이 간격 최소화 */
}

/* 기본적으로 위젯 숨기기 (데스크탑) */
.widget.top-nav-widget-2 {
  display: none !important;
}

/* 모바일 환경(768px 이하)에서만 위젯 보이기 */
@media (max-width: 991px) {
  .widget.top-nav-widget-2 {
    display: flex !important;
  }
}
/* ============================ mega menu   */

.mega-menu {
    width: 100%;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 8%;
    background-color: #fff;
    font-size: 12px;
}

.mega-menu-top,
.mega-menu-sub ul,
.mega-menu-sub-sub ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-top {
    display: flex;
    justify-content: space-around;
}

.mega-menu-item,
.mega-menu-sub-item {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: #615849;
}

.mega-menu-item > a,
.mega-menu-sub-item > a {
    display: block;
    padding: 5px 0px;
    background-color: #fff;
    color: #555;
    text-decoration: none;
    transition: background-color 0.3s;
}

.mega-menu-item > a:hover,
.mega-menu-sub-item > a:hover {
    background-color: #dddddd;
}

.mega-menu-sub,
.mega-menu-sub-sub {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #ffffff;
    padding: 0px;
    min-width: 220px;
    box-shadow: 0px 7px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.mega-menu-sub {
    left: 0px;
}

.mega-menu-sub-sub {
    left: 100%;
    top: 0;
}

.mega-menu-item:hover .mega-menu-sub,
.mega-menu-sub-item:hover .mega-menu-sub-sub {
    display: block;
}


/* ============================ footer */

        .footer {
            background-color: #f8f8f8;
            padding: 40px 40px;
            color: #333;
            font-size: 14px;
            line-height: 1.6;
            text-align: left;
        }
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
        }
        .footer-column {
            flex: 1;
            min-width: 200px;
            padding: 15px;
        }
        .footer h4 {
            margin-bottom: 20px;
            font-weight: 500;
            color: #000;
        }
        .footer a {
            color: #555;
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer a:hover {
            color: #000;
        }
        .footer-bottom {
            margin-top: 30px;
            font-size: 13px;
            color: #999;
            border-top: 1px solid #e1e1e1;
            padding-top: 20px;
            text-align: center;
        }

.features-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 140px;
    gap: 80px;
    text-align: center;
    flex-wrap: wrap; /* 요소들이 넘칠 때 자동 줄바꿈 */
}

.feature {
    min-width: 200px;
    flex: 1; /* 유연한 너비 */
}

/* 모바일 화면에서만 적용할 스타일 */
@media (max-width: 768px) {
    .feature {
        flex: 0 0 50%; /* 모바일에서는 두 개씩 한 줄에 배치 */
        max-width: 50%; /* 확실히 50%만 차지하도록 설정 */
        margin-bottom: 20px; /* 하단 여백 추가로 보기 좋게 */
    }

    .features-container {
        gap: 20px; /* 모바일에서 gap 간격 줄이기 */
    }
}


.icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
    margin-bottom: 10px;
}

.text {
    font-size: 16px;
    line-height: 1.4;
}

    .admin-button-wrapper-under-price {
        display: flex;
        gap: 1px;
    }
    .admin-button {
        font-size: 12px;
        font-weight: 500;
        padding: 4px 6px;
        background-color: #111827;
        color: #fff;
        text-decoration: none;
        line-height: 1;
    }
    .admin-button.toriwoo {
        background-color: #ff0055;
    }
    .admin-button:hover {
        opacity: 0.85;
    }
