.section-header {
    padding: 10px 16px;
    background-color: #F1F2F3;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.search-list {
    list-style: none;
}

.search-list li {
    background: #fff;
    border-bottom: 1px solid #eee;
    /*padding: 14px 16px;*/
    padding: 16px 22px 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
}

.search-list li:hover {
    background-color: #f0f0f0;
}

.arrow {
    font-size: 12px;
    /*transform: rotate(-45deg);*/
    color: #333;
}


.loading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

a:hover {
    color: #CB3838;
}

.btn_logout_active {
    background: #CB3838;
    height: 32px;
    angle: 0 deg;
    opacity: 1;
    gap: 8px;
    border-radius: 8px;
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 183%;
    letter-spacing: 0%;
    color: #FAFAFA;
}

.swiper-pagination {
    bottom: 10px !important;
    text-align: center !important;
    padding-right: 10px;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #ccc;
    opacity: 1;
    border-radius: 6px;
}

.swiper-pagination-bullet-active {
    background: #FFF;
    width: 30px;
}

@media (max-width: 768px) {
    .swiper-pagination {
        bottom: 10px !important;
    }
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 8px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
    bottom: 20px !important;
}

.card-menu-title {
    margin-top: 0.15rem;
    line-height: 0.1;
    width: 40px;
}

.card-menu-title.skeleton {
    min-height: 10px;
    border-radius: 5px;
}

.card-produk {
    margin-top: 0.15rem;
    line-height: 1.5;
    width: 140px;
    flex: 0 0 auto;
}

.card-produk.skeleton {
    min-height: 140px;
    border-radius: 10px;
}

.skeleton {
    background-color: #e2e5e7;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-size: 40px 100%;
    background-repeat: no-repeat;
    background-position: left -40px top 0;
    -webkit-animation: shine 1s ease infinite;
    animation: shine 1s ease infinite;
}

@-webkit-keyframes shine {
    to {
        background-position: right -40px top 0;
    }
}

@keyframes shine {
    to {
        background-position: right -40px top 0;
    }
}

.carousel-inner {
    overflow: hidden;
    background-color: #000;
}

.carousel-indicators [data-bs-target] {
    background-color: white;
}


.brand-list {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.letter-group {
    margin-bottom: 10px;
}

.letter {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

.item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.alphabet-sidebar {
    position: fixed;
    right: 5px;
    top: 20%;
    transform: translateY(-20%);
    z-index: 999;
    margin-right: 6px;
    margin-top: 80px;
}

.alphabet-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.alphabet-sidebar li {
    padding: 2px;
    font-size: 11px;
    cursor: pointer;
    color: #888;
}

.alphabet-sidebar li.active {
    color: red;
    font-weight: bold;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .alphabet-sidebar {
        top: 15%;
        right: 2px;
    }

    .item span {
        font-size: 14px;
    }
}


.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.brand-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.brand-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}


.navbar {
    position: fixed;
    /* selalu nempel di atas */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    /*background: #1a1a1a;*/
    color: #fff;
    background: linear-gradient(90deg, #0E0E0E 0%, #270C0C 50%, #0E0E0E 100%);
}

/* LOGO */
.navbar .logo img {
    height: 30px;
}

/* SEARCH */
.search-box {
    flex: 1;
    margin: 0 10px;
    /* lebih rapat dengan logo dan menu */
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    max-width: 680px;
    /* biar tidak terlalu panjang */
    border: 1px solid #4A4B50;
}

.search-box input {
    flex: 1;
    padding: 6px 2px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #D4D4D4;
}

.search-box i {
    padding: 0 12px;
    color: #FFF;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 15px;
    /* lebih rapat ke pencarian */
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

/* LOGIN BUTTON */
.btn-login {
	background: #d32f2f;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
	border: 1px solid #9E2A2A;
	box-shadow: 0px 1px 1px 1px #CB383833;
	box-shadow: 0px 0px 0px 2px #CF4949 inset;
	box-shadow: 0px -2px 2px 0px #9E2A2A inset;

	/*
	background: #CB3838;
	width: 160;
	height: 60;
	border-radius: 8px;
	border-width: 1px;
	angle: 0 deg;
	opacity: 1;
	gap: 8px;
	padding-right: 20px;
	padding-left: 20px;
	border: 1px solid #9E2A2A;
	box-shadow: 0px 1px 1px 1px #CB383833;
	box-shadow: 0px 0px 0px 2px #CF4949 inset;
	box-shadow: 0px -2px 2px 0px #9E2A2A inset;
	
	font-family: Inter;
	font-weight: 500;
	font-style: Medium;
	font-size: 11px;
	leading-trim: NONE;
	line-height: 143%;
	letter-spacing: 0%;
	color: #FAFAFA;
	*/
}

.cart {
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

.cart .badge {
    position: absolute;
    top: -4px;
    right: -10px;
    background: red;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 50%;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .search-box {
        margin: 10px;
        max-width: 100%;
    }

    .menu {
        display: none;
    }
}


/*dropdown menu kategori*/
.dropdown_menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    background: #111;
    padding: 30px 60px;
    padding-left: 250px;
}

.dropdown_menu.active {
    display: block;
}

.dropdown_menu .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.dropdown_menu h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.dropdown_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown_menu ul li {
    margin: 6px 0;
}

.dropdown_menu ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}

.dropdown_menu ul li a:hover {
    color: #fff;
}

.dropdown_menu h3 {
    color: #fff;
}

.swiper {
    width: 100%;
    height: 450px;
    /*padding: 40px 0;*/
    padding: 10px 0 10px 0;
}

.swiper-slide {
    width: 80%;
    /* supaya terlihat kiri-kanan */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Slide aktif (tengah) jelas */
.swiper .swiper-slide-active {
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

/* Slide kiri & kanan agak blur */
.swiper .swiper-slide-prev,
.swiper .swiper-slide-next {
    filter: blur(4px) brightness(0.8);
    transform: scale(0.95);
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #0E0E0E 0%, #270C0C 50%, #0E0E0E 100%);
  padding: 8px 0;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}

.swipe-item {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 10px;
  font-weight: 500;
  margin-right: 16px;
  font-family: 'Inter', sans-serif;
}

@keyframes  marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.brand-header h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.brand-header a {
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
}

.brand-list {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.brand-item {
    flex: 0 0 auto;
    text-align: center;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
    background: #fff;
}

.brand-logo img {
    max-width: 60%;
    max-height: 60%;
}

.brand-name {
    font-size: 13px;
    color: #333;
}

/* scroll halus untuk mobile */
.brand-list::-webkit-scrollbar {
    height: 6px;
}

.brand-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/*
	.container_default {
	  padding-left: clamp(80px, 2vw, 10px);
	  padding-right: clamp(80px, 2vw, 10px);
	}
	*/

.container_default {
    padding-left: 80px;
    padding-right: 80px;
}

/* layar max 1024px */
@media (max-width: 1024px) {
    .container_default {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* layar max 768px (tablet ke bawah) */
@media (max-width: 768px) {
    .container_default {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* layar max 480px (hp kecil) */
@media (max-width: 480px) {
    .container_default {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.swipe-wrapper {
  position: relative;
  width: 100%;
}

.swipe-container {
  height: 45px !important;
  /*padding: 0 16px;*/
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}
.swipe-container::-webkit-scrollbar {
  display: none;
}
.tab {
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}
.tab.active {
  color: red;
}


/* Arrow kanan */
.arrow-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 36px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right:16px;
  background: linear-gradient(to right, rgba(250, 250, 250, 0) 0%, #FAFAFA,#FAFAFA 100%);
  cursor: pointer;
  z-index: 2;
}
.arrow-right svg {
  width: 12px;
  height: 12px;
  fill: #c00;
}
.arrow-right.hidden {
  display: none;
}

.btn-article-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 20%;
    height: 48px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #17242A !important;
    background-color: #F1F2F3;
    border: 1px solid #D4D4D4;
    border-radius: 8px;
    /*
	box-shadow:
      0px 1px 1px 1px rgba(241, 241, 242, 0.2),
      0px 0px 0px 2px rgba(250, 250, 250, 1) inset,
      0px -2px 2px 0px rgba(212, 212, 212, 1) inset;
	*/
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

.btn-article-list:hover {
    background-color: #e7e8e9;
    /*
	box-shadow:
      0px 2px 4px rgba(0, 0, 0, 0.1),
      0px 0px 0px 2px rgba(250, 250, 250, 1) inset,
      0px -2px 2px 0px rgba(212, 212, 212, 1) inset;
	*/
}