/* CCS Sidebar Styles */

.ccs-sidebar-content .ccs-sidebar-body ul#country_dropdown_alpha  {
	display: block;
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
}
.ccs-sidebar-content .ccs-sidebar-body #country_dropdown_alpha li {
	display: block;
	float: left;
	width: 100%;
	padding: 5px 20px;
	border-bottom: 1px solid #eee;
    font-family: "Montserrat", Sans-serif;
}

.ccs-sidebar-content .ccs-sidebar-body #country_dropdown_alpha a {
	color: #000 !important;
	font-size: 14px;
	line-height: 5px;
    font-family: "Montserrat", Sans-serif;
}

.ccs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.ccs-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.ccs-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: background-color 0.5s ease-in-out;
}

.ccs-sidebar.active .ccs-sidebar-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.ccs-sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 85%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    will-change: transform;
}

.ccs-sidebar.active .ccs-sidebar-content {
    transform: translateX(0);
}

.ccs-sidebar-header {
    padding: 14px 20px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

/* .ccs-sidebar-header::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffffff;
} */

.ccs-sidebar-title {
    font-size: 17px;
    font-weight: 400;
    margin: 0;
    font-family: "Montserrat", Sans-serif;
}

.ccs-sidebar-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    position: relative;
    z-index: 10;
}

.ccs-sidebar-close:hover {
    opacity: 0.8;
}

.ccs-sidebar-close span {
    display: block;
    line-height: 1;
}

.ccs-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background-color: #f5f5f5;
}

.ccs-sidebar-body::-webkit-scrollbar {
    width: 8px;
}

.ccs-sidebar-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ccs-sidebar-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.ccs-sidebar-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}





.ccs-sidebar-content .ccs-sidebar-close {
  position: relative;
  top: -4px;
  color: #fff;
  border: unset;
  padding: 0;
  font-size: 30px;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 27px;
}

.ccs-sidebar-content .ccs-sidebar-close span {
  display: flex;
  justify-content: center;
  align-content: center;
  line-height: 1;
}
.ccs-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ccs-sidebar-content .ccs-sidebar-body #country_dropdown_alpha {
	margin-bottom: 0 !important;
}



/* Sidebar List Items */
.ccs-sidebar-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-sidebar-body li {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ccs-sidebar-body li:hover {
    background-color: #f9f9f9;
}

.ccs-sidebar-body li:last-child {
    border-bottom: none;
}

/* Sidebar trigger button */
.ccs-sidebar-open {
    background-color: #e91e63;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.ccs-sidebar-open:hover {
    background-color: #c2185b;
}




.ccs-sidebar-content .ccs-sidebar-body .country-selector {
    width: 100%;
  }
  .ccs-sidebar-content .ccs-sidebar-body .country-selector ul {
    display: block;
  }
  .ccs-sidebar-content .ccs-sidebar-body .country-selector ul {
    padding-inline: 20px;
  }



/* Responsive Design */
@media (max-width: 768px) {
    .ccs-sidebar-content {
        width: 100%;
        max-width: 100%;
    }
}

/* WordPress Admin Bar Compatibility */
.admin-bar .ccs-sidebar-content {
    top: 32px;
    height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .ccs-sidebar-content {
        top: 46px;
        height: calc(100% - 46px);
    }
}

