/* ==============================================
   Komik Mesra Sekolah – Style Sheet
   Design spec v1.0
   ============================================== */

/* ---------- Custom Properties ---------- */
:root {
  --yellow: #FFC800;
  --black: #1A1A1A;
  --cream: #FAF5E4;
  --orange: #FF6B00;
  --red: #E53935;
  --text: #1A1A1A;
  --muted: #555555;
  --white: #FFFFFF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --max-width: 1280px;
  --pad-lg: 48px;
  --pad-md: 24px;
  --pad-sm: 16px;
  --section-py: 64px;
  --section-py-mobile: 40px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 100px;
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--cream);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{cursor:pointer;font-family:inherit}
ul{list-style:none}

/* ---------- Container ---------- */
.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 var(--pad-lg);
}

/* ---------- Section ---------- */
.section{
  padding:var(--section-py) 0;
}
.carousel-section{
  background:var(--white);
}
.recommended{
  background:var(--black);
  color:var(--white);
}
.recommended .section-header__link{
  color:#aaa;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}
.section,.hero,.stats,.akan-terbit,.app-banner,.footer{
  animation:fadeInUp 0.6s ease forwards;
  opacity:0;
}
.hero{animation-delay:0s}
.stats{animation-delay:0.05s}
.carousel-section:nth-of-type(1){animation-delay:0.1s}
.akan-terbit{animation-delay:0.15s}
.carousel-section:nth-of-type(2){animation-delay:0.2s}
.carousel-section:nth-of-type(3){animation-delay:0.25s}
.recommended{animation-delay:0.3s}
.app-banner{animation-delay:0.35s}
.footer{animation-delay:0.4s}

/* ==============================================
   5.1 Navigation Bar
   ============================================== */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--white);
  box-shadow:var(--shadow-sm);
  height:64px;
}
.navbar__inner{
  display:flex;
  align-items:center;
  height:100%;
  gap:24px;
}
.navbar__logo{
  flex-shrink:0;
}
.navbar__logo-img{
  height:40px;
  width:auto;
}
.navbar__links{
  display:flex;
  list-style:none;
  gap:20px;
}
.navbar__links a{
  font-weight:600;
  font-size:14px;
  color:var(--text);
  position:relative;
  padding:4px 0;
  transition:color 0.2s;
}
.navbar__links a::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--yellow);
  transition:width 0.2s ease;
}
.navbar__links a:hover::after{width:100%}
.navbar__search{
  position:relative;
  margin-left:auto;
}
.navbar__search input{
  border:1px solid #ddd;
  border-radius:var(--radius-pill);
  padding:8px 16px 8px 36px;
  font-family:var(--font-body);
  font-size:13px;
  width:180px;
  outline:none;
  transition:border-color 0.2s;
}
.navbar__search input:focus{
  border-color:var(--yellow);
  box-shadow:0 0 0 3px rgba(255,200,0,0.15);
}
.navbar__search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
}
.navbar__avatar{
  flex-shrink:0;
  border-radius:50%;
  overflow:hidden;
}
.navbar__avatar svg{
  display:block;
}
.navbar__hamburger{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  padding:8px;
  margin-left:auto;
  min-width:44px;
  min-height:44px;
}



.navbar__links,
.navbar__dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.25s ease;
  z-index: 100;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-menu li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
}

.navbar__dropdown-menu li a:hover {
  background: #f5f5f5;
}


.dropdown-title {
  padding: 0.8rem 1rem 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  pointer-events: none;
}

.navbar__dropdown-menu {
  max-height: 500px;
  overflow-y: auto;
}

/* ---------- Mobile Drawer ---------- */
.nav-drawer{
  position:fixed;
  inset:0;
  z-index:200;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.3s;
}
.nav-drawer--open{
  pointer-events:auto;
  opacity:1;
}
.nav-drawer__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
}
.nav-drawer__panel{
  position:absolute;
  top:0;
  right:0;
  width:300px;
  max-width:80vw;
  height:100%;
  background:var(--white);
  padding:24px;
  transform:translateX(100%);
  transition:transform 0.3s ease;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.nav-drawer--open .nav-drawer__panel{
  transform:translateX(0);
}
.nav-drawer__close{
  align-self:flex-end;
  background:none;
  border:none;
  font-size:24px;
  padding:8px;
  min-width:44px;
  min-height:44px;
}
.nav-drawer__logo{
  margin-bottom:8px;
}
.nav-drawer__links{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.nav-drawer__links a{
  display:block;
  font-weight:600;
  font-size:16px;
  padding:8px 0;
  border-bottom:1px solid #eee;
}

/* ==============================================
   5.2 Hero Banner
   ============================================== */
.hero{
  background:var(--yellow);
  min-height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__inner{
  display:grid;
  grid-template-columns:45% 55%;
  gap:40px;
  align-items:center;
  width:100%;
}
.hero__content{
  padding:40px 0;
}
.hero__title{
  font-family:var(--font-display);
  font-size:72px;
  font-weight:900;
  line-height:0.9;
  color:var(--black);
  letter-spacing:1px;
  margin-bottom:16px;
}
.hero__tagline{
  font-size:16px;
  color:var(--black);
  margin-bottom:28px;
  max-width:480px;
}
.hero__ctas{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero__visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  min-height:400px;
}
.hero__books{
  position:relative;
  width:280px;
  height:380px;
}
.hero__book{
  position:absolute;
  width:200px;
  height:auto;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  object-fit:cover;
  aspect-ratio:2/3;
}
.hero__book--1{
  bottom:0;
  left:0;
  transform:rotate(-3deg);
  z-index:3;
}
.hero__book--2{
  bottom:10px;
  left:30px;
  transform:rotate(5deg);
  z-index:2;
}
.hero__book--3{
  bottom:20px;
  left:60px;
  transform:rotate(8deg);
  z-index:1;
}
.hero__star{
  position:absolute;
  font-size:24px;
  color:var(--black);
  pointer-events:none;
}
.hero__star--1{top:10%;right:15%;font-size:28px;transform:rotate(15deg)}
.hero__star--2{top:25%;left:5%;font-size:18px;transform:rotate(-10deg)}
.hero__star--3{bottom:15%;right:5%;font-size:22px;transform:rotate(25deg)}
.hero__star--4{top:5%;left:20%;font-size:14px;transform:rotate(-5deg)}
.hero__star--5{top:45%;right:25%;font-size:16px;transform:rotate(20deg)}

/* ==============================================
   5.2 Stats Bar
   ============================================== */
.stats{
  background:var(--yellow);
  padding:20px 0;
}
.stats__inner{
  display:flex;
  justify-content:center;
  gap:24px;
}
.stats__item{
  display:flex;
  align-items:center;
  gap:12px;
  background:#FFD740;
  border-radius:var(--radius-lg);
  padding:16px 24px;
  flex:1;
  max-width:300px;
}
.stats__icon{
  font-size:32px;
  line-height:1;
}
.stats__number{
  font-family:var(--font-display);
  font-size:32px;
  font-weight:900;
  color:var(--black);
  letter-spacing:1px;
}
.stats__label{
  font-size:13px;
  font-weight:600;
  color:var(--text);
}

/* ==============================================
   5.4 Section Header
   ============================================== */
.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.section-header__left{
  display:flex;
  align-items:center;
  gap:10px;
}
.section-header__icon{
  font-size:24px;
  line-height:1;
}
.section-header__title{
  font-family:var(--font-body);
  font-weight:800;
  font-size:22px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.section-header__link{
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  transition:color 0.2s;
  white-space:nowrap;
}
.section-header__link:hover{
  color:var(--black);
}
.badge-baru{
  background:var(--red);
  color:var(--white);
  font-size:10px;
  font-weight:700;
  padding:4px 8px;
  border-radius:var(--radius-pill);
  text-transform:uppercase;
  letter-spacing:0.5px;
}

/* ==============================================
   5.3 Comic Card
   ============================================== */
.comic-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width:180px;
  flex-shrink:0;
  border-radius:var(--radius-md);
  overflow:visible;
  background:var(--cream);
  box-shadow:var(--shadow-md);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align:start;
}
.comic-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.comic-card__cover{
  position:relative;
  aspect-ratio:2/3;
  overflow:hidden;
  background:#ddd;
}
.comic-card__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.comic-card__rank{
  position:absolute;
  top:8px;
  left:8px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--orange),#FF8C00);
  color:var(--white);
  font-size:12px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 4px rgba(0,0,0,0.2);
}
.comic-card__content {
  display: flex;
  flex-direction: column;
}
.comic-card__title{
  font-size:13px;
  font-weight:700;
  padding:8px 10px 2px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.3;
}
.comic-card__author{
  font-size:12px;
  color:var(--muted);
  padding:0 10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.comic-card__price{
  font-size:13px;
  font-weight:700;
  padding:2px 10px 8px;
}

/* BARU badge on card */
.comic-card--baru .comic-card__cover::after{
  content:'BARU';
  position:absolute;
  top:8px;
  right:8px;
  background:var(--red);
  color:var(--white);
  font-size:10px;
  font-weight:700;
  padding:4px 8px;
  border-radius:var(--radius-pill);
  letter-spacing:0.5px;
}

.bs {
	width: 183px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bs h3 {
	font-size: 13px;
    font-weight: 700;
    padding: 8px 10px 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.bs p {
	font-size: 12px;
    color: var(--muted);
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Paperback {
	width: 182px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.Paperback h3 {
	font-size: 13px;
    font-weight: 700;
    padding: 8px 10px 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.price {
font-size: 12px;
    color: var(--muted);
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author {
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px 8px;
}
    
   /* ── Shop Dropdown ── */
/* DROPDOWN */
.comic-dropdown {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.comic-dropdown__toggle {
  width: 100%;
  border: none;
  background: #111;
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.comic-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background: white;
  border-radius: 0.7rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: 0.25s ease;
  z-index: 50;
}

.comic-dropdown.active .comic-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.comic-dropdown__item {
  display: block;
  padding: 0.9rem 1rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.comic-dropdown__item:last-child {
  border-bottom: none;
}

.comic-dropdown__item:hover {
  background: #f5f5f5;
}

  /* ── Responsive ── */
  @media (max-width: 600px) {
    .section-title { font-size: 1.6rem; }
    .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  }

  @media (max-width: 380px) {
    .books-grid { grid-template-columns: 1fr; }
  }
  
  
/* ==============================================
   5.5 Horizontal Scroll Carousel
   ============================================== */
.carousel{
  position:relative;
}
.carousel__track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding-bottom:8px;
}
.carousel__track::-webkit-scrollbar{
  display:none;
}
.carousel__track{
  -ms-overflow-style:none;
  scrollbar-width:none;
}
.carousel__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--white);
  border:none;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  transition:transform 0.15s, box-shadow 0.15s;
  color:var(--text);
}
.carousel__arrow:hover{
  transform:translateY(-50%) scale(1.05);
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
.carousel__arrow:active{
  transform:translateY(-50%) scale(0.97);
}
.carousel__arrow--left{
  left:-20px;
}
.carousel__arrow--right{
  right:-20px;
}

/* Carousel Dots */
.carousel__dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:16px;
}
.carousel__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ccc;
  transition:all 0.2s;
  cursor:pointer;
}
.carousel__dot--active{
  width:24px;
  border-radius:var(--radius-pill);
  background:var(--yellow);
}

/* ==============================================
   5.6 Akan Terbit (Coming Soon) Banner
   ============================================== */
.akan-terbit{
  background:var(--black);
  border-radius:16px;
  margin:var(--section-py) var(--pad-lg);
  color:var(--white);
  padding:32px 0;
  overflow: hidden;
}
.akan-terbit .container {
  overflow: hidden;
}
.akan-terbit-slider {
  display: flex;
  transition: transform 0.4s ease;
}
.akan-terbit__slide {
  min-width: 100%;
  flex-shrink: 0;
}
.akan-terbit__inner{
  display:flex;
  align-items:center;
  gap:32px;
}
.akan-terbit__info{
  flex:0 0 30%;
}
.akan-terbit__icon{
  font-size:36px;
  display:block;
  margin-bottom:8px;
}
.akan-terbit__title{
  font-family:var(--font-body);
  font-weight:800;
  font-size:24px;
  text-transform:uppercase;
  margin-bottom:12px;
}
.akan-terbit__desc{
  font-size:14px;
  color:#aaa;
  margin-bottom:20px;
  line-height:1.6;
}
.akan-terbit__cover-wrap{
  flex:0 0 25%;
  display:flex;
  justify-content:center;
}
.akan-terbit__cover{
  width:180px;
  height:auto;
  border-radius:var(--radius-md);
  box-shadow:0 4px 16px rgba(0,0,0,0.3);
  aspect-ratio:2/3;
  object-fit:cover;
}
.akan-terbit__detail{
  flex:0 0 45%;
}
.akan-terbit__book-title{
  font-size:20px;
  font-weight:700;
  color:var(--yellow);
  margin-bottom:4px;
}
.akan-terbit__author{
  font-size:14px;
  color:#aaa;
  margin-bottom:12px;
}
.akan-terbit__label{
  display:inline-block;
  background:var(--yellow);
  color:var(--black);
  font-size:11px;
  font-weight:700;
  padding:4px 12px;
  border-radius:var(--radius-pill);
  text-transform:uppercase;
}
.akan-terbit__nav{
  display:flex;
  gap:8px;
  margin-top:20px;
}
.akan-terbit__nav .carousel__arrow{
  position:static;
  transform:none;
}
.akan-terbit__nav .carousel__arrow:hover{
  transform:scale(1.05);
}

/* ==============================================
   5.7 CTA Buttons
   ============================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:var(--radius-sm);
  font-family:var(--font-body);
  font-weight:800;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  transition:all 0.15s ease;
  border:none;
  cursor:pointer;
  white-space:nowrap;
}
.btn:active{
  transform:scale(0.97);
}
.btn--primary{
  background:var(--black);
  color:var(--white);
}
.btn--primary:hover{
  background:#333;
}
.btn--outline{
  background:transparent;
  color:var(--black);
  border:2px solid var(--black);
}
.btn--outline:hover{
  background:var(--black);
  color:var(--white);
}
.btn--yellow{
  background:var(--yellow);
  color:var(--black);
}
.btn--yellow:hover{
  background:#FFD740;
}
.btn--floating{
  background:var(--yellow);
  color:var(--black);
}
.btn--floating:hover{
  background:#e6b400;
}

.btn.bcafe {
	background-color: rgb(101, 47, 145);
    color: white;
    display: none;
}

.btn.shopee {
	background-color: rgb(234, 80, 31);
    color: white;
    display: none;
}

.btn.lazada {
	background-color: rgb(243, 3, 123);
    color: white;
    display: none;
}

.btn.whatsapp {
	background-color: rgb(53, 196, 54);
    color: white;
    display: none;
}

.btn.google {
	background-color: rgb(3, 155, 229);
    color: white;
    display: none;
}

.btn.esentral {
	background-color: rgb(8, 88, 154);
    color: white;
    display: none;
}

/* ==============================================
   5.9 App Promo Banner (Maestro Melodi)
   ============================================== */
.app-banner{
  background:var(--yellow);
  padding:20px 0;
}
.app-banner__inner{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.app-banner__cover{
  width:80px;
  height:auto;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  aspect-ratio:2/3;
  object-fit:cover;
  flex-shrink:0;
}
.app-banner__info{
  flex-shrink:0;
}
.app-banner__title{
  font-size:15px;
  font-weight:700;
}
.app-banner__author{
  font-size:12px;
  color:var(--muted);
}
.app-banner__price{
  font-size:13px;
  font-weight:700;
  margin-top:2px;
}
.app-banner__tagline{
  font-size:14px;
  font-weight:600;
  flex:1;
  min-width:150px;
}
.app-banner__actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.app-banner__badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.store-badge{
  font-size:11px;
  font-weight:700;
  padding:4px 10px;
  border-radius:var(--radius-pill);
  text-transform:uppercase;
  letter-spacing:0.3px;
  white-space:nowrap;
}
.store-badge--komikm{
  background:#1A1A1A;
  color:var(--white);
}
.store-badge--shopee{
  background:#EE4D2D;
  color:var(--white);
}
.store-badge--lazada{
  background:#0F146D;
  color:var(--white);
}

/* ==============================================
   5.10 Footer
   ============================================== */
.footer{
  background:var(--black);
  color:#aaa;
  padding:48px 0 24px;
}
.footer__inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
}
.footer__logo{
  height:40px;
  width:auto;
  margin-bottom:12px;
  filter:brightness(0) invert(1);
}
.footer__copyright{
  font-size:12px;
  line-height:1.5;
}
.footer__reg{
  font-size:11px;
  color:#666;
  margin-top:4px;
}
.footer__heading{
  color:var(--white);
  font-size:14px;
  font-weight:700;
  margin-bottom:16px;
  text-transform:uppercase;
}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer__links a{
  font-size:13px;
  color:#aaa;
  transition:color 0.2s;
}
.footer__links a:hover{
  color:var(--white);
}
.footer__links--contact a{
  word-break:break-all;
}

/* ==============================================
   Focus & Accessibility
   ============================================== */
*:focus-visible{
  outline:3px solid var(--yellow);
  outline-offset:2px;
}

/* ==============================================
   Responsive — Tablet (max-width: 768px)
   ============================================== */
@media(max-width:768px){
  .container{
    padding:0 var(--pad-md);
  }
  .section{
    padding:var(--section-py-mobile) 0;
  }

  /* Navbar */
  .navbar{
    height:56px;
  }
  .navbar__inner{
    gap:12px;
  }
  .navbar__links{
    display:none;
  }
  .navbar__search input{
    width:140px;
    padding:6px 12px 6px 32px;
    font-size:12px;
  }
  .navbar__search-icon{
    left:10px;
    width:16px;
    height:16px;
  }
  .navbar__hamburger{
    display:block;
  }
  .navbar__avatar{
    display:none;
  }

  /* Hero */
  .hero{
    min-height:360px;
  }
  .hero__inner{
    grid-template-columns:50% 50%;
    gap:24px;
  }
  .hero__title{
    font-size:48px;
  }
  .hero__tagline{
    font-size:14px;
  }
  .hero__visual{
    min-height:300px;
  }
  .hero__books{
    width:200px;
    height:280px;
  }
  .hero__book{
    width:140px;
  }

  /* Stats */
  .stats__item{
    padding:12px 16px;
  }
  .stats__number{
    font-size:24px;
  }
  .stats__icon{
    font-size:24px;
  }

  /* Section header */
  .section-header__title{
    font-size:18px;
  }

  /* Comic card */
  .comic-card{
    width:140px;
  }

  /* Carousel arrows */
  .carousel__arrow{
    width:36px;
    height:36px;
    font-size:18px;
  }
  .carousel__arrow--left{
    left:-12px;
  }
  .carousel__arrow--right{
    right:-12px;
  }

  /* Akan Terbit */
  .akan-terbit{
    margin:var(--section-py-mobile) var(--pad-md);
    padding:24px 0;
  }
  .akan-terbit__inner{
    flex-wrap:wrap;
    gap:24px;
  }
  .akan-terbit__info{
    flex:0 0 100%;
  }
  .akan-terbit__cover-wrap{
    flex:0 0 40%;
  }
  .akan-terbit__detail{
    flex:0 0 55%;
  }

  /* App banner */
  .app-banner__inner{
    gap:16px;
  }
  .app-banner__tagline{
    min-width:auto;
    flex:0 0 100%;
  }

  /* Footer */
  .footer__inner{
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }
}

/* ==============================================
   Responsive — Mobile (max-width: 480px)
   ============================================== */
@media(max-width:480px){
  .container{
    padding:0 var(--pad-sm);
  }

  /* Navbar */
  .navbar__search{
    display:none;
  }

  /* Hero */
  .hero__inner{
    grid-template-columns:1fr;
    text-align:center;
  }
  .hero__title{
    font-size:36px;
  }
  .hero__tagline{
    max-width:100%;
    font-size:14px;
  }
  .hero__ctas{
    justify-content:center;
  }
  .hero__visual{
    display:none;
  }

  /* Stats */
  .stats__inner{
    gap:8px;
  }
  .stats__item{
    flex-direction:column;
    text-align:center;
    gap:4px;
    padding:12px 8px;
  }
  .stats__number{
    font-size:20px;
  }
  .stats__label{
    font-size:11px;
  }
  .stats__icon{
    font-size:20px;
  }

  /* Section header */
  .section-header__title{
    font-size:16px;
  }
  .section-header__link{
    font-size:12px;
  }

  /* Comic card */
  .comic-card{
    width:120px;
  }
  .carousel__track{
    gap:10px;
  }
  
  .bs {
  	width: 160px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  /* Carousel arrows hidden on mobile */
  .carousel__arrow{
    display:none;
  }

  /* Akan Terbit */
  .akan-terbit{
    margin:var(--section-py-mobile) var(--pad-sm);
  }
  .akan-terbit__inner{
    flex-direction:column;
    text-align:center;
  }
  .akan-terbit__cover-wrap{
    flex:0 0 auto;
  }
  .akan-terbit__detail{
    flex:0 0 auto;
  }
  .akan-terbit__nav{
    justify-content:center;
  }

  /* App banner */
  .app-banner__inner{
    flex-direction:column;
    text-align:center;
  }
  .app-banner__actions{
    justify-content:center;
  }

  /* Footer */
  .footer__inner{
    grid-template-columns:1fr;
    text-align:center;
    gap:32px;
  }
  .footer__col--brand{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .footer__links--contact{
    align-items:center;
  }
}
